mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-11 11:21:11 +00:00
When the files we're creating in the live layer have static content, ship them in live-build/ubuntu/includes.chroot.minimal.standard.live instead of generating them from live-build/ubuntu/hooks/020-ubuntu-live.chroot_early. Also fixes the fact that live-build/ubuntu/hooks/020-ubuntu-live.chroot_early was incorrectly writing to /root in the previous upload instead of /usr.
18 lines
260 B
Bash
Executable File
18 lines
260 B
Bash
Executable File
#! /bin/sh
|
|
|
|
set -eu
|
|
|
|
case ${PASS:-} in
|
|
minimal.standard.live)
|
|
;;
|
|
*)
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
cat <<EOF > /etc/initramfs-tools/conf.d/default-layer.conf
|
|
LAYERFS_PATH=${PASS}.squashfs
|
|
EOF
|
|
|
|
glib-compile-schemas /usr/share/glib-2.0/schemas/
|