diff --git a/README.md b/README.md index 59968f9..b4bc902 100644 --- a/README.md +++ b/README.md @@ -60,10 +60,13 @@ sudo chroot $HOME/live-ubuntu-from-scratch/chroot ``` cat < /etc/apt/sources.list deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse + deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse deb http://us.archive.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse + deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse + deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse EOF ``` @@ -116,7 +119,7 @@ sudo chroot $HOME/live-ubuntu-from-scratch/chroot 8. **Install window manager** ``` apt-get install -y \ - plymouth-theme-ubuntu-gnome-logo \ + plymouth-theme-ubuntu-logo \ ubuntu-gnome-desktop \ ubuntu-gnome-wallpapers ``` @@ -245,8 +248,6 @@ sudo chroot $HOME/live-ubuntu-from-scratch/chroot rm -rf /tmp/* ~/.bash_history - rm /etc/resolv.conf - umount /proc umount /sys @@ -400,12 +401,15 @@ sudo umount $HOME/live-ubuntu-from-scratch/chroot/run sudo cp -v image/casper/filesystem.manifest image/casper/filesystem.manifest-desktop - REMOVE='ubiquity ubiquity-frontend-gtk ubiquity-frontend-kde casper lupin-casper live-initramfs user-setup discover1 xresprobe os-prober debian-installer4' - - for i in $REMOVE - do - sudo sed -i "/${i}/d" image/casper/filesystem.manifest-desktop - done + sudo sed -i '/ubiquity/d' image/casper/filesystem.manifest-desktop + + sudo sed -i '/casper/d' image/casper/filesystem.manifest-desktop + + sudo sed -i '/discover/d' image/casper/filesystem.manifest-desktop + + sudo sed -i '/laptop-detect/d' image/casper/filesystem.manifest-desktop + + sudo sed -i '/os-prober/d' image/casper/filesystem.manifest-desktop ``` ## Compress the chroot @@ -490,4 +494,4 @@ sudo umount $HOME/live-ubuntu-from-scratch/chroot/run -no-emul-boot \ -boot-load-size 4 \ -boot-info-table -o ../ubuntu-from-scratch.iso . - ``` \ No newline at end of file + ```