From 5bf8045669418fec3a97424e3533b2026e73a55f Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 31 Aug 2010 19:44:35 +0100 Subject: [PATCH] Set GDM's default session to une-efl on ubuntu-netbook armel+dove. --- debian/changelog | 6 ++++++ livecd.sh | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/debian/changelog b/debian/changelog index 62d1b3cb..236d54f6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (1.150) UNRELEASED; urgency=low + + * Set GDM's default session to une-efl on ubuntu-netbook armel+dove. + + -- Colin Watson Tue, 31 Aug 2010 19:39:57 +0100 + livecd-rootfs (1.149) maverick; urgency=low * Fix syntax error in icon cache checks. diff --git a/livecd.sh b/livecd.sh index 44d88e72..26a9fa9f 100755 --- a/livecd.sh +++ b/livecd.sh @@ -697,6 +697,12 @@ Pin-Priority: 550 rm -f ${ROOT}/usr/share/icons/*/icon-theme.cache fi + if [ "$FS" = ubuntu-netbook ] && \ + [ "$TARGETARCH+$SUBARCH" = armel+dove ] && \ + [ -e "$ROOT/usr/share/xsessions/une-efl.desktop" ]; then + chroot $ROOT /usr/lib/gdm/gdm-set-default-session une-efl + fi + # all done with the chroot; reset the debconf frontend, so Colin doesn't cry echo RESET debconf/frontend | chroot $ROOT debconf-communicate echo FSET debconf/frontend seen true | chroot $ROOT debconf-communicate