Skip to content

Commit 313ef0c

Browse files
committed
A minor fix
1 parent 585ba21 commit 313ef0c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

distroshare-ubuntu-imager.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ KERNEL_PARAMS="tpm_tis.interrupts=0"
1313
UBIQUITY_KERNEL_PARAMS="tpm_tis.interrupts=0"
1414

1515
#Extra packages to install in the image. Packages must be separated by a space.
16-
EXTRA_PKGS=""
16+
EXTRA_PKGS="ubiquity-slideshow-xubuntu"
1717

1818
#Release notes url that shows up after the Ubiquity installer is started
19-
RELEASE_NOTES_URL="https://www.distroshare.com"
19+
RELEASE_NOTES_URL="https://www.distroshare.com/distros/get/14/"

distroshare-ubuntu-imager.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,6 @@ rsync -a --one-file-system --exclude=/proc/* --exclude=/dev/* \
101101
--exclude=/etc/X11/xorg.conf* --exclude=/etc/gdm/custom.conf \
102102
--exclude=/etc/lightdm/lightdm.conf --exclude="${WORK}"/rootfs / "${WORK}"/rootfs
103103

104-
if [ -n "$EXTRA_PKGS" ]; then
105-
echo "Removing extra packages from installed system"
106-
apt-get -q=2 remove "$EXTRA_PKGS"
107-
fi
108-
109104
#Copy boot partition
110105
echo "Copying the boot dir/partition"
111106
rsync -a --one-file-system /boot/ "${WORK}"/rootfs/boot
@@ -245,6 +240,11 @@ done
245240
echo "Uninstalling Ubiquity"
246241
apt-get -q=2 remove casper lupin-casper ubiquity
247242

243+
if [ -n "$EXTRA_PKGS" ]; then
244+
echo "Removing extra packages from installed system"
245+
apt-get -q=2 remove "$EXTRA_PKGS"
246+
fi
247+
248248
echo "Removing temp files"
249249
rm -rf "${WORK}"/rootfs/tmp/*
250250
rm -rf "${WORK}"/rootfs/run/*

0 commit comments

Comments
 (0)