Browse Source

Minor changes to debootstrap Live ISO

Adding an apt purge and changing and echo to a cat.
master
Nate Bohman 6 years ago
parent
commit
bbde1f33c7
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      debootstrap_chroot_live.sh

+ 3
- 1
debootstrap_chroot_live.sh View File

@@ -32,6 +32,8 @@ echo -e 'ff02::2\t\tip6-allrouters' >> /etc/hosts

apt install linux-image-amd64 linux-headers-amd64 firmware-* memtest86+ live-boot debian-installer-launcher debootstrap apt-file aria2 bash-completion ntfs-3g btrfs-progs btrfs-compsize btrfs-heatmap btrfsmaintenance build-essential ccache checkinstall chrony cifs-utils cmake command-not-found cryptsetup curl deb-multimedia-keyring dosfstools duperemove e2fsprogs ethtool fail2ban fuse git xfsprogs nano vim man less testdisk wireguard zfs-dkms grub-efi-amd64 grub-pc-bin haveged hwinfo iftop iotop iptables iputils-ping jq localepurge locales lsb-base lshw lz4 net-tools nfs-common network-manager* nodm openconnect pigz python python-pip python-dev python3 python3-pip python3-dev rsync screen smartmontools sudo sshpass strace tcpdump terminology tlp tp-smapi-dkms tshark ttf-mscorefonts-installer wget wireshark xz-utils zlib1g zstd zfs-initramfs chntpw cmospwd lsof dnsutils xfce4* imagemagick spellutils wamerican-insane xsensors zip unzip rar unar p7zip mdadm udftools udisks2* ffmpeg vlc* fancontrol paprefs pasystray pavumeter pavucontrol-qt i2c-tools f2fs-tools nilfs-tools reiserfsprogs libdvdcss2 libdvdread4

apt purge lightdm

apt autoremove --purge
apt clean
apt autoclean
@@ -53,7 +55,7 @@ cp chroot/boot/memtest86+_multiboot.bin image/live/memtest86+_multiboot.bin
cp /usr/lib/ISOLINUX/isolinux.bin image/isolinux/
cp /usr/lib/syslinux/modules/bios/* image/isolinux/

echo > image/isolinux/isolinux.cfg << EOF
cat > image/isolinux/isolinux.cfg << EOF
UI menu.c32
prompt 0 menu title Debian Live
timeout 30

Loading…
Cancel
Save