Skip to content

Commit 3d17ee0

Browse files
committed
Removed extra casper script that fixed a warning. It wasn't a great workaround.
1 parent 57a97de commit 3d17ee0

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

distroshare-ubuntu-imager.sh

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -92,18 +92,6 @@ else
9292
fi
9393

9494

95-
#Create an extra casper script that prevents an error message in Ubuntu 15.04
96-
CASPER_SCRIPT_DIR="/usr/share/initramfs-tools/scripts/casper-bottom"
97-
CASPER_EXTRA_SCRIPT="$CASPER_SCRIPT_DIR/24create_systemd_dir"
98-
mkdir -p $CASPER_SCRIPT_DIR
99-
cat > "$CASPER_EXTRA_SCRIPT" <<EOF
100-
#!/bin/sh
101-
102-
rm -f /root/lib/systemd/system/cdrom.mount
103-
104-
EOF
105-
chmod a+rx "$CASPER_EXTRA_SCRIPT"
106-
10795
echo "Installing Ubiquity"
10896
apt-get -q=2 install casper lupin-casper
10997
if [ "$GTK" == "YES" ]; then

0 commit comments

Comments
 (0)