ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #06325
Re: Call for testing: experimental 4.4.2 based images
The path to ubuntu root is passed to kexecd' kernel via command line.
The path contains the ROM name, and kernel command line parameters
can't contain spaces. Main part of multibooting Ubuntu is a patch
MultiROM applies during Ubuntu Touch installation, which adds support
for "rootsubdir" cmdline argument. Init mounts subdirectory from that
argument as root instead of root of the partition.
I initially wanted the patch to be flexible and not limited to
MultiROM (anyone can add rootsubdir=... to cmdline), but that is
probably useless and perhaps it would be better to store the path in
some file, then it would be okay with whitespaces. But, to be honest,
this is not very high on my imaginary TODO list - just type
Ubuntu-Touch in there.
2014-02-05 Davide Depau <me@xxxxxxxxxxxxx>:
>
> On Feb 5, 2014 1:50 AM, Vojtech Bocek <vbocek@xxxxxxxxx> wrote:
>>
>> Yeah, adding support for sideload might be a good idea. It's just alias
>> for adb push file.zip /sdcard/sideload.zip though, that's all, so it won't
>> be faster or anything just a tiny bit more user friendly.
>>
>> You should be able to update these testing images quite safely if you set
>> FLASH_KERNEL_SKIP=1. The initrd and kernel won't be updated, but it doesn't
>> change very often. Also, if any of the packages MultiROM modified gets
>> updated, you can re-patch them in recovery, via Advanced -> MutliROM -> List
>> ROMs -> *rom* -> Re-patch init.
>>
>> export FLASH_KERNEL_SKIP=1
>> apt-get update
>> apt-get dist-upgrade
>>
>> Remember these are very early testing images, they'll soon get replaced by
>> proper images on system-image.ubuntu.com. Once that happens, updating it'll
>> be much better, since MultiROM can handle OTA updates via system-image
>> correctly (whereas it is not feasible to do so for updates via apt-get).
>
> I have another question about your MultiROM update: why names with spaces
> work with Android ROMs but not with Ubuntu? At boot a red dialog shows up
> telling me to remove the spaces from the name, which was "Ubuntu Touch",
> while b2g whose name was "Firefox OS 1.3" booted correctly.