Skip to content

Instantly share code, notes, and snippets.

@herpiko
Last active November 7, 2023 18:19
Show Gist options
  • Save herpiko/8ec54de1c7a5eff9d804573ff16c211f to your computer and use it in GitHub Desktop.
Save herpiko/8ec54de1c7a5eff9d804573ff16c211f to your computer and use it in GitHub Desktop.
BlankOn live-build reboot 2023

Install live-build

sudo apt install debootstrap make git apt-utils
git clone https://salsa.debian.org/live-team/live-build.git debian-live-build
cd debian-live-build
sudo make install
sudo lb --version
@herpiko
Copy link
Author

herpiko commented Nov 7, 2023

Install Debian keyring

sudo wget http://ftp.jp.debian.org/debian/pool/main/d/debian-archive-keyring/debian-archive-keyring_2023.4_all.deb
sudo dpkg -i debian-archive-keyring_2023.4_all.deb

Preparation,

mkdir live-build-1 && cd live-build-1
sudo lb config

Change all bullseye string to bookworm,

➜  live-build-1 grep -r bullseye
config/bootstrap:LB_DISTRIBUTION="bullseye"
config/bootstrap:LB_DISTRIBUTION_CHROOT="bullseye"
config/bootstrap:LB_PARENT_DISTRIBUTION_CHROOT="bullseye"
config/bootstrap:LB_DISTRIBUTION_BINARY="bullseye"
config/bootstrap:LB_PARENT_DISTRIBUTION_BINARY="bullseye"
config/binary:LB_DEBIAN_INSTALLER_DISTRIBUTION="bullseye"
config/binary:LB_ISO_VOLUME="Debian bullseye @ISOVOLUME_TS@"

Change the repo to Kartolo,

➜  config sudo grep -r kartolo
bootstrap:LB_PARENT_MIRROR_BOOTSTRAP="http://kartolo.sby.datautama.net.id/debian/"
bootstrap:LB_PARENT_MIRROR_CHROOT="http://kartolo.sby.datautama.net.id/debian/"
bootstrap:LB_PARENT_MIRROR_BINARY="http://kartolo.sby.datautama.net.id/debian/"
bootstrap:LB_PARENT_MIRROR_DEBIAN_INSTALLER="http://kartolo.sby.datautama.net.id/debian/"
bootstrap:LB_MIRROR_BOOTSTRAP="http://kartolo.sby.datautama.net.id/debian/"
bootstrap:LB_MIRROR_CHROOT="http://kartolo.sby.datautama.net.id/debian/"
bootstrap:LB_MIRROR_BINARY="http://kartolo.sby.datautama.net.id/debian/"
bootstrap:LB_MIRROR_DEBIAN_INSTALLER="http://kartolo.sby.datautama.net.id/debian/"

First time build,

sudo lb build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment