[oe] [PATCH] zaurus-updater: add support for home partition reflashing
Dmitry
dbaryshkov at gmail.com
Mon Dec 1 02:10:58 UTC 2008
2008/11/29 Stanislav Brabec <utx at penguin.cz>:
> Dne Sat, 29 Nov 2008 03:48:48 +0300
> Dmitry Baryshkov <dbaryshkov at gmail.com> napsal(a):
>
>> Sometimes one needs to clean/reflash the home partition.
>> Add support for flashing home.bin/HOME.BIN files onto "home" mtd
>> device.
>
> Somebody may found it useful (e. g. for initial setup).
>
> Note that on models with HDD it will not do what is expected.
> It will format 2nd NAND partition, but /home is on /dev/hda2.
I don't know what it will format actually. Does the NAND have the "home"-labeled
partition on those devices?
>
> When you are discussing updater, I would like to discuss few additional
> changes:
>
> 1. Decrease number of reserved sectors while formatting the HDD. 5% is
> far too much of space unusable for packages installation. I have 5%
> free, but unable to run applications using /tmp. I propose 0% (or only
> a few blocks).
You can use tune2fs at any time, IIRC, can't you?
> 2. Support for langpacks. OE does not create langpack yet, but it would
> be nice to be able to flash localized system.
As a Russian user, it's definitely +1.
> 3. I am using post-flash customization using a combination of additional
> files and patches. It would be nice to have something like that
> directly as an updater feature.
It may be nice to have smth. like:
[snip]
if [ -x post-updater-hook.sh ]
then
. post-updater-hook.sh
fi
[snip]
However I dunno if other developers will agree on this?
--
With best wishes
Dmitry
More information about the Openembedded-devel
mailing list