Merge branch 'master' of github.com:mvallim/live-custom-ubuntu-from-scratch

This commit is contained in:
Marcos Vallim 2019-06-27 16:55:00 -03:00
commit 447a229303
1 changed files with 14 additions and 10 deletions

View File

@ -60,10 +60,13 @@ sudo chroot $HOME/live-ubuntu-from-scratch/chroot
``` ```
cat <<EOF > /etc/apt/sources.list cat <<EOF > /etc/apt/sources.list
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse 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 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 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 EOF
``` ```
@ -116,7 +119,7 @@ sudo chroot $HOME/live-ubuntu-from-scratch/chroot
8. **Install window manager** 8. **Install window manager**
``` ```
apt-get install -y \ apt-get install -y \
plymouth-theme-ubuntu-gnome-logo \ plymouth-theme-ubuntu-logo \
ubuntu-gnome-desktop \ ubuntu-gnome-desktop \
ubuntu-gnome-wallpapers ubuntu-gnome-wallpapers
``` ```
@ -245,8 +248,6 @@ sudo chroot $HOME/live-ubuntu-from-scratch/chroot
rm -rf /tmp/* ~/.bash_history rm -rf /tmp/* ~/.bash_history
rm /etc/resolv.conf
umount /proc umount /proc
umount /sys 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 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' sudo sed -i '/ubiquity/d' image/casper/filesystem.manifest-desktop
for i in $REMOVE sudo sed -i '/casper/d' image/casper/filesystem.manifest-desktop
do
sudo sed -i "/${i}/d" image/casper/filesystem.manifest-desktop sudo sed -i '/discover/d' image/casper/filesystem.manifest-desktop
done
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 ## Compress the chroot
@ -490,4 +494,4 @@ sudo umount $HOME/live-ubuntu-from-scratch/chroot/run
-no-emul-boot \ -no-emul-boot \
-boot-load-size 4 \ -boot-load-size 4 \
-boot-info-table -o ../ubuntu-from-scratch.iso . -boot-info-table -o ../ubuntu-from-scratch.iso .
``` ```