mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-04-27 19:11:14 +00:00
Stop launching a gnome-terminal at startup of the canary live session. (LP: #2032647)
This commit is contained in:
parent
9b75387648
commit
f354d76a83
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -3,6 +3,8 @@ livecd-rootfs (23.10.22) UNRELEASED; urgency=medium
|
|||||||
* Undo preseeding in reset_snapd_state.
|
* Undo preseeding in reset_snapd_state.
|
||||||
* update-source-catalog: work better when we want a variation to point
|
* update-source-catalog: work better when we want a variation to point
|
||||||
at the base layer.
|
at the base layer.
|
||||||
|
* Stop launching a gnome-terminal at startup of the canary live session.
|
||||||
|
(LP: #2032647)
|
||||||
|
|
||||||
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Fri, 25 Aug 2023 11:44:57 +1200
|
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Fri, 25 Aug 2023 11:44:57 +1200
|
||||||
|
|
||||||
|
@ -145,24 +145,6 @@ mode=run
|
|||||||
recovery_system=classic-installer
|
recovery_system=classic-installer
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Temporary while we still use the subiquity TUI for the live system
|
|
||||||
cat > chroot/usr/lib/systemd/user/subiquity-tui.service << EOF
|
|
||||||
[Unit]
|
|
||||||
Description=subiquity tui
|
|
||||||
PartOf=graphical-session.target
|
|
||||||
After=graphical-session.target
|
|
||||||
|
|
||||||
# Never run in GDM
|
|
||||||
Conflicts=gnome-session@gnome-login.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
ExecStart=/usr/bin/gnome-terminal --wait -- sudo sh -c 'echo waiting for snapd; snap wait system seed.loaded; sleep 5; snap run subiquity'
|
|
||||||
Restart=no
|
|
||||||
EOF
|
|
||||||
mkdir chroot/etc/systemd/user/graphical-session.target.wants/
|
|
||||||
ln -vs /usr/lib/systemd/user/subiquity-tui.service chroot/etc/systemd/user/graphical-session.target.wants/
|
|
||||||
|
|
||||||
mv chroot/boot/initrd.img-* ${PWD}/livecd.${PROJECT}.initrd-generic
|
mv chroot/boot/initrd.img-* ${PWD}/livecd.${PROJECT}.initrd-generic
|
||||||
mv chroot/boot/vmlinu?-* ${PWD}/livecd.${PROJECT}.kernel-generic
|
mv chroot/boot/vmlinu?-* ${PWD}/livecd.${PROJECT}.kernel-generic
|
||||||
chmod a+r ${PWD}/livecd.${PROJECT}.initrd-generic ${PWD}/livecd.${PROJECT}.kernel-generic
|
chmod a+r ${PWD}/livecd.${PROJECT}.initrd-generic ${PWD}/livecd.${PROJECT}.kernel-generic
|
||||||
|
Loading…
x
Reference in New Issue
Block a user