Age | Commit message (Collapse) | Author | Files | Lines |
|
In obmc-init.sh, there is "clean-rwfs-filesystem" that clean the rwfs
during boot, but it backs up the files in whitelist, so it is not a
*real* factory reset.
Add a new "factory-reset" option, and when it exists, erase the rwfs
without restoring files in whitelist.
Tested: Set openbmconce=factory-reset in u-boot env, and verify the rwfs
is erased during boot without restore;
Set openbmconce=clean-rwfs-filesystem in u-boot env, and verify
that rwfs is erased with whitelist restored.
Change-Id: Ifdc76da46fe273e9c942f30444173e51f8106fcc
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
The phosphor settings properties used to be stored under
/var/lib/obmc/ but they have moved to /var/lib/phosphor-*
directories.
Update the code update whitelist to include these
directories so that the settings properties and inventory
are preserved across code updates.
Closes openbmc/openbmc#3346
Tested: On Zaius, a PrepareForUpdate and an Apply preserve
the settings.
Change-Id: I4e528f90128e11af7d40537dceb2f9dd1db6cf73
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
Add a missing runtime dependency on base-utils.
Found the missing dependency on the shell while comparing initfs to
OE-Core's initrdscripts/initramfs-framework.
Change-Id: Ia43495245f37e7f48c5508ee42540abea7ab0659
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
initfs is a bunch of shell scripts and therefor allarch.
Set accordingly.
Change-Id: Iaf707830c476c25d3dafabcbb6eec710cfb8bb50
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
obmc-phosphor-license.bbclass is deprecated. Replace with
a real license indicator and checksum.
Change-Id: I6cf2732a661cf436eb233cd350ee470311b161bb
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Move initfs from initfs to initrdscripts to match OE-Core's
placement of initramfs content recipes.
Change-Id: Ic30cda7ca55070f1a8754824e76ab001fd55037b
Tested: Booted QEMU palmetto image.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|