Skip to content

Commit

Permalink
Merging casper 1.190.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-baumann committed Apr 30, 2010
1 parent 2fef819 commit c588e9e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/ChangeLog.casper
@@ -1,3 +1,17 @@
casper (1.190) karmic; urgency=low

[ Colin Watson ]
* Don't produce an invalid sed program when trying to remove an applet
which isn't in the panel (LP: #406188).

[ Tormod Volden ]
* do not remount filesystems that already have been probed when
searching for the livefs (LP: #424464)
* Fix quoting in try_snap (LP: #424742).
* Silence error messages for non-existent device nodes (LP: #425159).

-- Colin Watson <cjwatson@ubuntu.com> Mon, 07 Sep 2009 13:10:53 +0100

casper (1.189) karmic; urgency=low

* In 10adduser fix path to ubiquity-kde.desktop file
Expand Down
6 changes: 6 additions & 0 deletions scripts/live
Expand Up @@ -20,6 +20,7 @@ USERFULLNAME="Live user"
HOSTNAME="host"

mkdir -p "${mountpoint}"
tried="/tmp/tried"

# Create /etc/mtab for debug purpose and future syncs
if [ ! -d /etc ]
Expand Down Expand Up @@ -1563,6 +1564,7 @@ check_dev ()
umount $mountpoint
fi
fi
[ -e "$devname" ] || continue

if [ -n "${LIVE_MEDIA_OFFSET}" ]
then
Expand All @@ -1574,7 +1576,10 @@ check_dev ()

if is_supported_fs ${fstype}
then
devuid=$(blkid -o value -s UUID "$devname")
[ -n "$devuid" ] && grep -qs "\<$devuid\>" $tried && continue
mount -t ${fstype} -o ro,noatime "${devname}" ${mountpoint} || continue
[ -n "$devuid" ] && echo "$devuid" >> $tried

if is_live_path ${mountpoint} && \
([ "${skip_uuid_check}" ] || matches_uuid ${mountpoint})
Expand Down Expand Up @@ -1674,6 +1679,7 @@ find_livefs ()
for sysblock in $devices_to_scan
do
devname=$(sys2dev "${sysblock}")
[ -e "$devname" ] || continue
fstype=$(get_fstype "${devname}")

if /lib/udev/cdrom_id ${devname} > /dev/null
Expand Down
1 change: 1 addition & 0 deletions scripts/live-bottom/30accessibility
Expand Up @@ -57,6 +57,7 @@ remove_applet ()
local line_no prior_line next_line

line_no="$(grep -n "<string>$1</string>" /root/usr/share/gconf/defaults/05_panel-default-setup.entries | cut -f 1 -d :)"
[ "$line_no" ] || return
prior_line="$((line_no-1))"
next_line="$((line_no+1))"

Expand Down

0 comments on commit c588e9e

Please sign in to comment.