-
-
Save kurobeats/db45a25776c06734e0f245c8b5c802e9 to your computer and use it in GitHub Desktop.
debian 9 live build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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