Skip to content

Instantly share code, notes, and snippets.

@subaddiction
Last active April 29, 2020 11:40
Show Gist options
  • Save subaddiction/bf328bdcb8a623ef7dec to your computer and use it in GitHub Desktop.
Save subaddiction/bf328bdcb8a623ef7dec to your computer and use it in GitHub Desktop.
debian 8 live build
#!/bin/bash
# WARNING: to use "--binary-images hdd", see this bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773833
# WARNING: to get persistence encryption working, apply this fix: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767195
# Italian locale & keyboard, default boot with luks encrypted persistence
lb config --distribution jessie --debian-installer live --binary-images iso-hybrid --archive-areas "main contrib non-free" --bootappend-live "boot=live persistence persistence-encryption=luks locales=it_IT.UTF-8 keyboard-layouts=it username=utente hostname=D8"
# English locale & italian keyboard, default boot with luks encrypted persistence
#lb config --distribution jessie --debian-installer live --binary-images iso-hybrid --archive-areas "main contrib non-free" --bootappend-live "boot=live persistence persistence-encryption=luks keyboard-layouts=it username=user hostname=D8"
echo "cryptsetup" > config/package-lists/encryption.list.chroot
echo task-gnome-desktop > config/package-lists/desktop.list.chroot
# UTILITIES
echo "vim byobu nmap netcat htop ssh-client gnupg2 seahorse pidgin pidgin-otr gedit-plugins gnome-disk-utility gparted python" > config/package-lists/utils.list.chroot
# GRAPHICS TOOLS
echo "inkscape python-libxml2 python-numpy blender gimp gimp-gap gimp-plugin-registry imagemagick create-resources" > config/package-lists/graphics.list.chroot
# AUDIO/VIDEO
echo "libav-tools vlc openshot pitivi jackd qjackctl puredata gem chuck" config/package-lists/audiovideo.list.chroot
# MORE DEVELOPMENT/PROGRAMMING/SCRIPTING TOOLS
echo "build-essential node node-uglify php5-cli php5-sqlite php5-mcrypt racket" > config/package-lists/development.list.chroot
# MORE ENCRYPTION TOOLS
echo "iptables-persistent tor tor-geoipdb tor-arm torbrowser-launcher" > config/package-lists/privacy.list.chroot
lb build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment