summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-05-01 12:08:48 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:08 +0100
commit988bdd427d963e255e75eb19fba0af98a4ea99cd (patch)
treeb5c7307e93cb15a2fa110d12df322b864867e9c9
parent5de2aaf4b04a2a6cad4914a18636df5f5d4f6741 (diff)
downloadlive-boot-988bdd427d963e255e75eb19fba0af98a4ea99cd.tar.gz
live-boot-988bdd427d963e255e75eb19fba0af98a4ea99cd.zip
Merging casper 1.201.
-rw-r--r--debian/live-initramfs.init15
-rw-r--r--docs/ChangeLog.casper13
-rwxr-xr-xscripts/live-bottom/44pk_allow11
3 files changed, 39 insertions, 0 deletions
diff --git a/debian/live-initramfs.init b/debian/live-initramfs.init
index 618607c..92e42b3 100644
--- a/debian/live-initramfs.init
+++ b/debian/live-initramfs.init
@@ -116,6 +116,21 @@ do_stop ()
return 0
fi
+ # Don't prompt to eject the SD card on Babbage board, where we reuse it
+ # as a quasi-boot-floppy. Technically this uses a bit of ubiquity
+ # (archdetect), but since this is mostly only relevant for
+ # installations, who cares ...
+ if type archdetect >/dev/null 2>&1
+ then
+ subarch="$(archdetect)"
+
+ case $subarch in
+ arm*/imx51)
+ return 0
+ ;;
+ esac
+ fi
+
prompt=1
if grep -qs noprompt /proc/cmdline
then
diff --git a/docs/ChangeLog.casper b/docs/ChangeLog.casper
index 9778ece..1042bb0 100644
--- a/docs/ChangeLog.casper
+++ b/docs/ChangeLog.casper
@@ -1,3 +1,16 @@
+casper (1.201) karmic; urgency=low
+
+ [ Colin Watson ]
+ * Don't prompt to eject the SD card on Babbage boards, since for now it's
+ reused as a quasi-boot-floppy (LP: #364273).
+
+ [ James Westby ]
+ * scripts/casper-bottom/44pk_allow_ubuntu: update to work for polkit-1
+ as well. Allow the live cd user to perform any action when at the
+ active console. (LP: #447141)
+
+ -- Colin Watson <cjwatson@ubuntu.com> Fri, 09 Oct 2009 16:06:53 +0100
+
casper (1.200) karmic; urgency=low
* scripts/casper-bottom/20xconfig:
diff --git a/scripts/live-bottom/44pk_allow b/scripts/live-bottom/44pk_allow
index fec6401..a211880 100755
--- a/scripts/live-bottom/44pk_allow
+++ b/scripts/live-bottom/44pk_allow
@@ -57,4 +57,15 @@ cat << EOF >> /root/etc/PolicyKit/PolicyKit.conf
</config>
EOF
+mkdir -p /root/var/lib/polkit-1/localauthority/10-vendor.d
+cat << EOF > /root/var/lib/polkit-1/localauthority/10-vendor.d/10-live-cd.pkla
+# Policy to allow the livecd user to bypass policykit
+[Live CD user permissions]
+Identity=unix-user:$USERNAME
+Action=*
+ResultAny=no
+ResultInactive=no
+ResultActive=yes
+EOF
+
log_end_msg