mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 03:11:12 +00:00
Ship static files instead of generating in a hook
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.
This commit is contained in:
parent
915a6910fc
commit
b45cad12b4
11
debian/changelog
vendored
11
debian/changelog
vendored
@ -1,3 +1,14 @@
|
||||
livecd-rootfs (24.04.14) UNRELEASED; urgency=medium
|
||||
|
||||
* 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.
|
||||
|
||||
-- Steve Langasek <steve.langasek@ubuntu.com> Wed, 20 Dec 2023 11:26:08 -0800
|
||||
|
||||
livecd-rootfs (24.04.13) noble; urgency=medium
|
||||
|
||||
* Drop support for building armhf+raspi images; as of noble these are
|
||||
|
@ -10,44 +10,8 @@ case ${PASS:-} in
|
||||
;;
|
||||
esac
|
||||
|
||||
cat <<EOF > /etc/initramfs-tools/conf.d/casperize.conf
|
||||
export CASPER_GENERATE_UUID=1
|
||||
EOF
|
||||
|
||||
cat <<EOF > /etc/initramfs-tools/conf.d/default-layer.conf
|
||||
LAYERFS_PATH=${PASS}.squashfs
|
||||
EOF
|
||||
|
||||
# change settings to have an 'installer only' session by default
|
||||
printf "[org.gnome.desktop.a11y]\nalways-show-universal-access-status=true\n" \
|
||||
>> /usr/share/glib-2.0/schemas/casper.gschema.override
|
||||
# we can't unload the dock because the shell would enter the overview on login;
|
||||
# https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1788
|
||||
printf "[org.gnome.shell.extensions.dash-to-dock:ubuntu]\ndock-fixed=false\nintellihide=false\n" \
|
||||
>> /root/usr/share/glib-2.0/schemas/casper.gschema.override
|
||||
printf "[org.gnome.shell]\ndisabled-extensions=['ding@rastersoft.com']\n" \
|
||||
>> /root/usr/share/glib-2.0/schemas/casper.gschema.override
|
||||
|
||||
glib-compile-schemas /usr/share/glib-2.0/schemas/
|
||||
# start the installer on session start, restore normal session on close
|
||||
|
||||
cat > /usr/lib/systemd/user/ubuntu-desktop-installer.service << EOF
|
||||
|
||||
[Unit]
|
||||
Description=Ubuntu Desktop Installer
|
||||
PartOf=graphical-session.target
|
||||
After=graphical-session.target
|
||||
|
||||
# Never run in GDM
|
||||
Conflicts=gnome-session@gnome-login.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/snap/bin/ubuntu-desktop-installer --try-or-install
|
||||
ExecStopPost=sh -c "gsettings set org.gnome.shell.extensions.dash-to-dock dock-fixed true; gsettings set org.gnome.shell.extensions.dash-to-dock intellihide true; gnome-extensions enable ding@rastersoft.com"
|
||||
Restart=no
|
||||
EOF
|
||||
|
||||
mkdir /etc/systemd/user/graphical-session.target.wants/
|
||||
ln -s /usr/lib/systemd/user/ubuntu-desktop-installer.service \
|
||||
/etc/systemd/user/graphical-session.target.wants/
|
||||
|
@ -0,0 +1 @@
|
||||
export CASPER_GENERATE_UUID=1
|
@ -0,0 +1 @@
|
||||
/usr/lib/systemd/user/ubuntu-desktop-installer.service
|
@ -0,0 +1,15 @@
|
||||
# start the installer on session start, restore normal session on close
|
||||
|
||||
[Unit]
|
||||
Description=Ubuntu Desktop Installer
|
||||
PartOf=graphical-session.target
|
||||
After=graphical-session.target
|
||||
|
||||
# Never run in GDM
|
||||
Conflicts=gnome-session@gnome-login.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/snap/bin/ubuntu-desktop-installer --try-or-install
|
||||
ExecStopPost=sh -c "gsettings set org.gnome.shell.extensions.dash-to-dock dock-fixed true; gsettings set org.gnome.shell.extensions.dash-to-dock intellihide true; gnome-extensions enable ding@rastersoft.com"
|
||||
Restart=no
|
@ -0,0 +1,12 @@
|
||||
# change settings to have an 'installer only' session by default
|
||||
[org.gnome.desktop.a11y]
|
||||
always-show-universal-access-status=true
|
||||
|
||||
# we can't unload the dock because the shell would enter the overview on login;
|
||||
# https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1788
|
||||
[org.gnome.shell.extensions.dash-to-dock:ubuntu]
|
||||
dock-fixed=false
|
||||
intellihide=false
|
||||
|
||||
[org.gnome.shell]
|
||||
disabled-extensions=['ding@rastersoft.com']
|
Loading…
x
Reference in New Issue
Block a user