On Wed, Jul 08, 2009 at 05:06:31PM +0100, Paul Cooper wrote:
> A refresh of the Moblin v2.0 beta for Netbooks image is now available
> for download and testing. This release is mostly about bug fixing and
> polish, but a few new features did creep in ;-)
The provided initrd still doesn't support putting the LiveOS directory
under a subdir. Are you considering updating it to support it?
Fedora 11 supports it, as does the latest sugar-on-a-stick. A patch I
use for moblin is:
--- init 2009-07-09 10:40:07.469278140 +0100
+++ /stuff/pub/pens/strbl/syslinux/inc/moblin.init 2009-06-26
16:23:54.000000000 +0100
@@ -46,6 +46,7 @@
check_iso=0
live_locale=""
overlay="off"
+live_dir=LiveOS
# Parse kernel commandline options
#
@@ -72,6 +73,9 @@
live_ram)
live_ram=1
;;
+ live_dir=*)
+ live_dir=${o#live_dir=}
+ ;;
live_locale=*)
live_locale=${o#live_locale=}
;;
@@ -406,11 +410,11 @@
# pathspec specified, extract
pathspec=$( echo $overlay | sed -e 's/^.*://' )
elif [ "x${overlay}" != "xoff" ]; then
- pathspec="/LiveOS/overlay-$l-$u"
+ pathspec="/$live_dir/overlay-$l-$u"
fi
if [ -z "$pathspec" -o "$pathspec" == "auto" ]; then
- pathspec="/LiveOS/overlay-$l-$u"
+ pathspec="/$live_dir/overlay-$l-$u"
fi
devspec=$( echo $overlay | sed -e 's/:.*$//' )
@@ -505,8 +509,8 @@
}
# we might have a genMinInstDelta delta file for anaconda to take advantage of
-if [ -e /sysroot/LiveOS/osmin.img ]; then
- OSMINSQFS=/sysroot/LiveOS/osmin.img
+if [ -e /sysroot/$live_dir/osmin.img ]; then
+ OSMINSQFS=/sysroot/$live_dir/osmin.img
fi
if [ -n "$OSMINSQFS" ]; then
@@ -523,8 +527,8 @@
# we might have an uncompressed embedded ext3 to use as rootfs (uncompressed
live)
#
-if [ -e /sysroot/LiveOS/ext3fs.img ]; then
- EXT3FS="/sysroot/LiveOS/ext3fs.img"
+if [ -e /sysroot/$live_dir/ext3fs.img ]; then
+ EXT3FS="/sysroot/$live_dir/ext3fs.img"
fi
if [ -n "$EXT3FS" ] ; then
@@ -545,8 +549,8 @@
# we might have an embedded ext3 on squashfs to use as rootfs (compressed live)
#
-if [ -e /sysroot/LiveOS/squashfs.img ]; then
- SQUASHED="/sysroot/LiveOS/squashfs.img"
+if [ -e /sysroot/$live_dir/squashfs.img ]; then
+ SQUASHED="/sysroot/$live_dir/squashfs.img"
fi
if [ -e "$SQUASHED" ] ; then
--
lfr
0/0
_______________________________________________
Moblin dev Mailing List
[email protected]
To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org
once logged in.
For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists