Merge lp:~persia/casper/trunk into lp:casper

Proposed by Emmet Hikory
Status: Merged
Merged at revision: not available
Proposed branch: lp:~persia/casper/trunk
Merge into: lp:casper
Diff against target: None lines
To merge this branch: bzr merge lp:~persia/casper/trunk
Reviewer Review Type Date Requested Status
Colin Watson Approve
Review via email: mp+4236@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Emmet Hikory (persia) wrote :

This is a nice-to-have wishlist feature for MID. Doesn't block anything, but oughtn't hurt anything else.

Revision history for this message
Colin Watson (cjwatson) wrote :

Missing closing quote at end of line.

I don't think the i\\t\t stuff works with busybox sed, which is probably what's going to be in use here; in my tests it seems to result in 'tt' at the start of the line. Perhaps you just need to embed a hard tab in the file instead?

review: Needs Fixing
lp:~persia/casper/trunk updated
582. By Emmet Hikory

Adjust syntax to work with busybox sed
Fix missing quotation mark

583. By Emmet Hikory

Merge with trunk

Revision history for this message
Emmet Hikory (persia) wrote :

Fixed the closing quote. Replaced \t\t with real tabs. Updated against current trunk.

lp:~persia/casper/trunk updated
584. By Emmet Hikory

Merge with trunk

Revision history for this message
Colin Watson (cjwatson) wrote :

> Fixed the closing quote. Replaced \t\t with real tabs. Updated against
> current trunk.

Thanks, but now I notice that there's a missing "; then" at the end of each if line as well. I'm a bit concerned that syntactic errors mean that this hasn't been tested - perhaps you could build a test image with this and run it through before we merge, to make sure that it really does the right thing?

lp:~persia/casper/trunk updated
585. By Emmet Hikory

Use commit target for testing directly, rather than trusting tired eyes.
Correct remaining syntax errors, confirm display of install icon.

Revision history for this message
Emmet Hikory (persia) wrote :

> I'm a bit concerned that syntactic errors mean that this hasn't been tested -
> perhaps you could build a test image with this and run it through before we merge,
> to make sure that it really does the right thing?

Right. No more attempts to go faster, as it seems to both take longer, and waste other people's time as well.

Test procedure was as follows:

update files
copy changes to loop-mounted image
regenerate initramfs
extract to /casper/initrd.gz on image
boot result
repeat

    I didn't go so far as to rebuild casper, and install the rebuilt casper into the image prior to update.

Revision history for this message
Colin Watson (cjwatson) wrote :

Looks happier now, thanks; I'll go ahead and merge this.

Revision history for this message
Colin Watson (cjwatson) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2009-03-03 04:49:29 +0000
3+++ debian/changelog 2009-03-06 12:48:37 +0000
4@@ -1,3 +1,9 @@
5+casper (1.158) UNRELEASED; urgency=low
6+
7+ * Show the ubiquity icon in kourou (LP: #338730)
8+
9+ -- Emmet Hikory <persia@sigyn> Fri, 06 Mar 2009 21:45:54 +0900
10+
11 casper (1.157) jaunty; urgency=low
12
13 [ Emmet Hikory ]
14
15=== modified file 'scripts/casper-bottom/10adduser'
16--- scripts/casper-bottom/10adduser 2009-02-06 15:02:11 +0000
17+++ scripts/casper-bottom/10adduser 2009-03-06 12:48:37 +0000
18@@ -83,6 +83,13 @@
19 fi
20 fi
21
22+#Ubuntu MID uses kourou, and the ubiquity icon should be easy to find
23+if [ -f "/root/usr/lib/hildon-desktop/kourou.py" ]
24+ if [ -f "/root/etc/xdg/menus/home.menu" ]
25+ sed -i '/<\/Include>/i\\t\t<Filename>ubiquity-gtkui.desktop</Filename>' "/root/etc/xdg/menus/home.menu
26+ fi
27+fi
28+
29 #Ubuntu Netbook Remix needs Categories=Favorites for ubiquity
30 if grep -q "Categories=Favorites;" "/root/usr/share/applications/firefox-fav.desktop"; then
31 if [ -f "/root/usr/share/applications/ubiquity-gtkui.desktop" ]; then

Subscribers

People subscribed via source and target branches