Skip to content

Commit

Permalink
Removed extra casper script that fixed a warning. It wasn't a great w…
Browse files Browse the repository at this point in the history
…orkaround.
  • Loading branch information
hugegreenbug committed May 19, 2015
1 parent 57a97de commit 3d17ee0
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions distroshare-ubuntu-imager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,18 +92,6 @@ else
fi


#Create an extra casper script that prevents an error message in Ubuntu 15.04
CASPER_SCRIPT_DIR="/usr/share/initramfs-tools/scripts/casper-bottom"
CASPER_EXTRA_SCRIPT="$CASPER_SCRIPT_DIR/24create_systemd_dir"
mkdir -p $CASPER_SCRIPT_DIR
cat > "$CASPER_EXTRA_SCRIPT" <<EOF
#!/bin/sh
rm -f /root/lib/systemd/system/cdrom.mount
EOF
chmod a+rx "$CASPER_EXTRA_SCRIPT"

echo "Installing Ubiquity"
apt-get -q=2 install casper lupin-casper
if [ "$GTK" == "YES" ]; then
Expand Down

0 comments on commit 3d17ee0

Please sign in to comment.