Skip to content

Instantly share code, notes, and snippets.

@sickel
Forked from subaddiction/jessie.sh
Last active March 9, 2017 03:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sickel/d2f139681fffcecc98cbe399de4ce535 to your computer and use it in GitHub Desktop.
Save sickel/d2f139681fffcecc98cbe399de4ce535 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"
# 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"
# Default locale & norwegian keyboard, pxe boot
# From https://www.reversengineered.com/2014/05/17/building-and-booting-debian-live-over-the-network/ - which is partly outdated related to live-boot
lb config \
--distribution jessie \
--architectures i386 \
--debian-installer live \
--binary-images netboot \
--debconf-frontend dialog \
--chroot-filesystem squashfs \
--parent-mirror-bootstrap http://mirrors.kernel.org/debian/ \
--parent-mirror-binary http://mirrors.kernel.org/debian/ \
--mirror-bootstrap http://mirrors.kernel.org/debian/ \
--mirror-binary http://mirrors.kernel.org/debian/ \
--archive-areas "main non-free contrib" \
--apt-options "--force-yes --yes" \
--bootappend-live "keyboard-layouts=no"
# install kde
echo task-kde-desktop > config/package-lists/desktop.list.chroot
# UTILITIES
echo "vim byobu nmap netcat htop ssh-client gnupg2 kate 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
# web
echo "google-chrome-stable" > config/package-lists/web.list.chroot
# GIS
echo "qgis grass qgis-provider-grass" > config/package-lists/gis.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