x
Search Posts:
BLOG POST #139 SHOW ALL

Debian live-build howto/example [jessie]

#!/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
 
echo "vim byobu ssh-client gnupg seahorse gedit-plugins gnome-disk-utility gparted python inkscape python-libxml2 python-numpy blender gimp gimp-gap gimp-plugin-registry imagemagick create-resources pidgin pidgin-otr libav-tools vlc" > config/package-lists/custom.list.chroot
 
lb build

# Fork this script here: https://gist.github.com/subaddiction/bf328bdcb8a623ef7dec