summaryrefslogtreecommitdiff
path: root/meta-phosphor/classes
AgeCommit message (Collapse)AuthorFilesLines
2020-07-17phosphor-hostfw-image: Create recipeAdriana Kobylak1-2/+11
Create a recipe to add host firmware files to the BMC image files. Via a bbappend, this recipe provides a mechanism to have content be added to a flashable BMC image and an image file to be added to the code update tarball to be updated during a firmware update. (From meta-phosphor rev: 39b1ff0dcd12f15dc651aa20cb85cdec903cb5de) Change-Id: I12b3ced57a6446fd1fc046324ee13e4701581336 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-15phosphor-software-manager: mmc: Add update servicesAdriana Kobylak1-0/+13
The mmc config option in the phosphor-bmc-code-mgmt repo supports now mmc code update, add the depends and services. (From meta-phosphor rev: 98d1f319a22a88887c96ae80b58b8fe8d4b7ca97) Change-Id: Id32177e5d63b18ad9e1060770a031bcce91ae551 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-15image_types_phosphor: Add ext4 boot fs to eMMC tarballAdriana Kobylak1-2/+22
The eMMC has two boot ext4 partitions with the fitImage in them. For the code update tarball, create this ext4 filesystem so that code update can flash it. (From meta-phosphor rev: 066633db0c7a7023b6644ebfc615c3f93a2732e1) Change-Id: I561fd71b2d532ab856caaf41a62bc02b2f8c5444 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-15obmc-phosphor-image: Enable read-only-rootfs for mmc distroAdriana Kobylak1-0/+1
Set the rootfs to read-only if the mmc distro feature is enabled. Similar to ubi, the ext4 filesystem option would have a read-only root fs and only allow certain directories like /var and /etc to be writable. (From meta-phosphor rev: 6c1407dc6835c033196be1c36daada24b9ffac18) Change-Id: Ia963d3feb1800aa01116f522ad38ef49b7fa9a7d Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-15phosphor-software-manager: Create a new mmc bbclassAdriana Kobylak1-0/+7
Add a bbclass for the mmc configuration option. (From meta-phosphor rev: 7df4aa01e4d35e6ec7294f08e4bd3f1d18e61f01) Change-Id: I6602362e511bcffae1e185a72861ae1edec050f9 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-01phosphor-dbus-interfaces and phosphor-networkd bumpAndrew Geissler1-1/+1
Chicago Duan (1): Add PLDM.Event Interface James Feist (1): Change sensor Value to double Johnathan Mantey (1): Enhance DHCP beyond just OFF and IPv4/IPv6 enabled phosphor-networkd: srcrev bump e5a867a547..817012a319 Johnathan Mantey (1): Enhance DHCP beyond just OFF and IPv4/IPv6 enabled. (From meta-phosphor rev: c768b524c278ddee0a31e4412cfb8c3b067be5aa) Change-Id: I67e32afce4a05e087906a29485c330e61fba5bdf Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-27phosphor-networkd: srcrev bump ca8b91b6a1..e5a867a547Andrew Geissler1-1/+1
Manojkiran Eda (3): filesystem is not experimental anymore since c++17 Fix the error spotted by meson Enable NCSI logs the Logs on Console (From meta-phosphor rev: 8bd3fd0ee700bf5d7ea19cd79f10de81ff7c5a7e) Change-Id: Ie709af5d778821dc9b19038ebb26a7456d7db50a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-22phosphor-networkd: srcrev bump 75e08eaa6d..ca8b91b6a1Andrew Geissler1-1/+1
Manojkiran Eda (3): Enable nlohmann-json dependency in phosphor-networkd Enable Fist Boot Set MAC Feature for Network Service Fix to set ipaddress on VLAN Ratan Gupta (2): Fix: Exception handling during fetching of hostname Fix the error message (From meta-phosphor rev: 2c29c25bb36f0864b1895a0b5ed65c553534b5a3) Change-Id: Ia6e8b2acda4557218f22fd5ea32efc99159da5e8 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-18phosphor-networkd: srcrev bump 12beaada90..75e08eaa6dAndrew Geissler1-1/+1
Manojkiran Eda (1): Enable sync-mac flag for networkd (From meta-phosphor rev: 2563568353734c4c91f5a81803c31a321111fc02) Change-Id: Ieec862a43b27ef6ba0b21d118730aec8382ee356 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-17phosphor-networkd: srcrev bump b6103f2cfc..12beaada90Andrew Geissler1-1/+1
William A. Kennington III (1): util: Replace raw struct functions with stdplus (From meta-phosphor rev: 1421f9124d6573acc79ca7a1585a48effcdb4ff0) Change-Id: I7dbdd81f4c114d9a9214361a153331abb520a178 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-16phosphor-software-manager: Move to mesonAdriana Kobylak1-10/+2
(From meta-phosphor rev: 2badcf923f4666c9c83842d0c0bc08132c6ef1c5) Change-Id: I124b014509e2370f65c24a1c3b3672932f156717 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-16phosphor-base.inc: add var for automatic YAML subdirsPatrick Williams1-1/+1
Some packages have directory trees of YAML files arranged based on canonical organization names. See phosphor-logging-yaml-providers.bbclass as an example. Add a variable that can be appended to by a layer to limit the number of 'bbappends' that are necessary in a layer to add their layer-specific organizations to all the YAML processing recipes. (From meta-phosphor rev: 2f31e7a7a37f841c1b2586e92258a7759b36306f) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ie4754ba96a4542ce813869a1384b44ab88000be0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-16phosphor-logging: create bbclass for non-native YAMLPatrick Williams1-0/+22
The current working model for many packages that supply YAML is that they have both a native and a non-native package where the native package doesn't build anything but supplies YAML and the non-native package does the real building. In the case of phosphor-logging this is due to a cyclic dependency: package-yaml -> logging header -> package To hopefully reduce the complexity on package makefiles to this dual-build structure, I have created a non-native bbclass that can be used to create simple packages for the logging YAML. I have also created a sample for phosphor-led. (From meta-phosphor rev: bb79d7c980ba03f45ba5c3cb1783f59ee5cdc4bd) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I38e096c36180b2b6e68a336bb204727a2f96c1a1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-03phosphor-networkd: srcrev bump 06345733e3..b6103f2cfcAndrew Geissler1-1/+1
Manojkiran Eda (1): Fix : clang-10 issue for Networkd (From meta-phosphor rev: 199c4eb97d386bb0ef83d692892b452eff4a6d95) Change-Id: I7d66cba3dc5e87f9d8b60e5bfe26e8ca1813fa23 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-02python3-autotools.bbclass: remove unused classPatrick Williams1-38/+0
sdbusplus was the only user of this bbclass and now that is moved to meson. Drop unused class. (From meta-phosphor rev: 2d826275ba4eb670fbae81490d819b8c602ecbad) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0b49e9a0acab8dbfacdb67efc9e3422db16e60ba Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-02phosphor-bmc-code-mgmt: srcrev bump 9155b713ff..0d7198f4ebAndrew Geissler1-3/+0
Adriana Kobylak (2): configure.ac: Set values to support a default configuration meson: Fix compile errors Bright Cheng (1): Add checking ApplyTime for static layout With the new support for ApplyTime on static layout, the reboot service files move from the ubi bbclass to the common BMC updater. (From meta-phosphor rev: b99a1ad6ddcbfc10fac3f23437ea105b542048a1) Change-Id: I6eacdb1a254ee594fda1ba17463afe8a9ec9cbf3 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-27phosphor-networkd: srcrev bump f15503ec46..06345733e3Andrew Geissler1-1/+1
Benjamin Fair (1): Allow disabling use of u-boot environment (From meta-phosphor rev: c02fb7a0e8b08e2f9f919b1c62966a8ed956f368) Change-Id: I9c4d931aa4ab74a009b3de1066da1065d807579e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-27image_types_phosphor.bbclass: mmc tar: Compress ext4 rootfsAdriana Kobylak1-1/+3
Compress the ext4 rootfs so that it's faster to transfer to the BMC and does not take much space. The code update process can then uncompress it on the fly and write to flash. Use zstd to compress which has a good compression rate and is also faster to decompress than xz. (From meta-phosphor rev: 5e1b6dc499736e219766cc24924dd486ff2a8ccb) Change-Id: I07aadc413e5e883a6b97d1a374e4bbf215b07786 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-15phosphor-networkd: srcrev bump 40a51df94c..f15503ec46Andrew Geissler1-1/+1
Patrick Williams (2): sdbusplus: remove deprecated variant_ns sdbusplus: replace message::variant with std::variant (From meta-phosphor rev: eee09144c06b9e20e083c1b6bcad3c5d8c46a63b) Change-Id: I2a25130d0a2a49a3eb1bf13b3802e341a4eacecc Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-14phosphor-networkd: srcrev bump d0679f9bb4..40a51df94cAndrew Geissler1-1/+1
Ratan Gupta (2): Initialize the link status and interface status correctly Fix for the MAC address configuration (From meta-phosphor rev: dc609d668ac6724afa9ae494d14de30543dff898) Change-Id: I8c0de7949355627f59e5fa316b7d133acbd02f86 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-29image_types_phosphor: Create a image-u-boot file with splAdriana Kobylak1-2/+18
If a u-boot spl file is built, generate a image-u-boot file with it so that code update can flash the u-boot mtd with the spl. (From meta-phosphor rev: 8fe768d9c696730eb67d48c243cbab9b228b8334) Change-Id: I8ead2155593945602c925b26e85d2b6effc206f9 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-23dunfell: fix up inherits for python3Andrew Geissler2-2/+2
Most of these recipes are no longer needed but bitbake still verifies the inherit clauses for them. python2 has been removed so need these to all use the corresponding python3 classes. (From meta-phosphor rev: d55b42ae26bf5198efeb38db9eed8166139408bd) Change-Id: Idf5fee957d8d0f3128a766a8007c3053fc1464d9 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-15phosphor-networkd: srcrev bump acd6dd5572..d0679f9bb4Andrew Geissler1-1/+1
Johnathan Mantey (1): Added enable/disable control of the Network Interface Card (From meta-phosphor rev: c6c4bd14ed9385ccd717b2812ff8869a3d9a674a) Change-Id: Ib82500b92df3682601cd43d7c42812960949085d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-14image_types_phosphor: Add u-boot spl to static imageAdriana Kobylak1-1/+12
If the [SPL_BINARY][1] variable is set, add the spl binary to the static image, then increase the u-boot offset by the size of the spl (default to 64kb). [1]: https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-SPL_BINARY (From meta-phosphor rev: 31fdddf87d96ddeed1b16639368c6bea991392b1) Change-Id: I96fef2323dec511257ea17ce6d4aa888d3ba1dbf Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-10obmc-phosphor-python-autotools: remove unused bbclassPatrick Williams1-30/+0
(From meta-phosphor rev: e95fd00d32d7032cea056ef8a077903810bcc6b7) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia367acbef791cb1542734c53bc208c5eabc7e22e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-10mrw: bump tools rev and switch to python3Patrick Williams1-1/+1
(From meta-phosphor rev: 18f36a2062894252d85046167e2675349937c7a3) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5fc335dd02c0a2d2fb4ccc5f7d67a82c40b79e7d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-09phosphor-networkd: srcrev bump 6f9a2ee25c..acd6dd5572Andrew Geissler1-1/+1
Manojkiran Eda (1): Backend changes for Populating Nameservers(DNS & Static) (From meta-phosphor rev: 93599deec761cb0aa4bc69750bacded2886786fc) Change-Id: If1e9a858e076bb831bef83641bec97ade67f114a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-07obmc-phosphor-systemd: Substitute more variablesWilliam A. Kennington III1-0/+6
(From meta-phosphor rev: 174bce334bc5e4fa960aa600399b5cddeb30b841) Change-Id: I03c2c389c7cfedbfbc4c97a8fa4c9fa3fbf937f7 Signed-off-by: William A. Kennington III <wak@google.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-07meta-phosphor: remove unused config-in-skeleton bbclassPatrick Williams1-36/+0
(From meta-phosphor rev: 501bea332a71385297c2968a16e6782ce96cf5e5) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I39a6f05d2180e4965c8767b441743bb66b5a2f07 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-03phosphor-networkd: srcrev bump ad4bf5ce12..6f9a2ee25cAndrew Geissler1-1/+1
Patrick Williams (1): delete deprecated python scripts (From meta-phosphor rev: 447b833511e76db91e7516867c63b053b0f9d6e3) Change-Id: I6b95358f259eddc21418158a04a176495df5e2d5 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-03phosphor-networkd: srcrev bump 99801cea8c..ad4bf5ce12Andrew Geissler1-1/+1
Johnathan Mantey (1): Enable conditional use of ETHTOOL features in the NIC driver (From meta-phosphor rev: 776457862dd6a5a19d8d2629bedd1de44f8768b4) Change-Id: I7b819a4d3a60c1259b7f9887fe8d9b564572d406 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-27meta-phosphor: distro: remove loggingBrad Bishop1-1/+1
There isn't any recipe metadata with any conditional logic around this distro feature. Remove, for a small improvement to comprehensibility. (From meta-phosphor rev: b670a101cd22746227ca3fd7ef8615f04aa97fd4) Change-Id: Ie893015545db146512ef4cb216d94e80e8ac5050 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-19phosphor-networkd: srcrev bump faa72e5c87..99801cea8cAndrew Geissler1-1/+1
Ratan Gupta (1): Fix the networkd crash during creation of vlan (From meta-phosphor rev: e502d092aace77296f39668fbf56fbf51307b72b) Change-Id: I20547010c5c5e4db113cb4b70d5e3f577e385e8a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-16obmc-xmlpatch.bbclass: Use python3Matt Spinler1-3/+3
Use python3native and remove a filter statement. (From meta-phosphor rev: c55fc52815dcce6d2f5eeb77ed5a1aaafd990958) Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ic25919bc947b1733cfac0573a41f35a5f12ed194 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-16image_types_phosphor: Add debug text for fs sizingJosh Lehan1-1/+5
Debugging text to help with filesystem sizing This can be useful when diagnosing sizing issues No behavioral change intended Tested: Output appears as expected (From meta-phosphor rev: a68b23d5052d6650176547b6ba3a4d9ccf0dc08e) Signed-off-by: Josh Lehan <krellan@google.com> Change-Id: I37d5daf038348576c43f5c1fb9e517e6e8aa37a0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-16obmc-phosphor-python3-autotools: workaround setuptools manglingPatrick Williams1-0/+21
python-setuptools will mangle the #! line in a python script that we install using setuptools. OE already has workarounds for this in distutils3.bbclass but we cannot use it here due to the conflict of autotools and distutils. Port the mangling fixes into our autotools recipe. See pypa/setuptools#494 for upstream report (years old). (From meta-phosphor rev: a1b7f30d915a4a85e257938d0a96803e013ab528) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I50c7df4f92f324b6883e42d1871add813af0872d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-10obmc-phosphor-python-autotools: hack to support mixed python installsPatrick Williams1-0/+13
Some packages are switching to 'inherit python3native' while also having a DEPEND on a python2-based script (such as sdbus++). Rewrite the #! in these executables to use `nativepython` instead of `python` so that the correct version of python and modules are found. (From meta-phosphor rev: 75f63b9ee7741073d22cf9001bfe4c3f31e3a59f) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I8a7bcb21a539463838a6a103d531aa8f90c5c8c3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-05phosphor-networkd: srcrev bump dbd328d7e0..faa72e5c87Andrew Geissler1-1/+1
Johnathan Mantey (1): Enable the network link carrier state to be reported. (From meta-phosphor rev: 50fd000f27bbbac97feb736ad2ab46ad0094346a) Change-Id: I5e778f919f97891bdb7a8365bf39c594a96f5329 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-02-25obmc-phosphor-python3-autotools: create bbclassPatrick Williams1-0/+17
Create python3 version of the obmc-phosphor-python-autotools.bbclass. (From meta-phosphor rev: 62412417ee2db0fd23a90523a50f88060adf44b2) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I819a6436a9c8dc7019bd6554142acb49ac4d722a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-18meta-phosphor: Fix SYSTEMD_PAGER exportAndrew Jeffery1-1/+2
The shell used to execute the bitbake scripts doesn't support `-e` for for the echo builtin. This triggers an error upon login: login: root Password: -sh: -e: command not found root@machine# Split the workaround into two separate `echo` invocations. (From meta-phosphor rev: a1759c49cbd7260c072f09adf4479fcc23a294c3) Change-Id: I8f973f44bd6682beeabfdd5c5972a0a33ae7befd Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-10image_types_phosphor.bbclass: Add a mmc-verity image typeAdriana Kobylak1-2/+99
Add support to create a rootfs image setup with dm-verity which allows for secure boot of a BMC’s userspace. This image type can be enabled by adding 'IMAGE_FSTYPES = "mmc-verity"' to a machine's conf file. Tested: Booted an image on QEMU. (From meta-phosphor rev: 86cfbd54a3ef9c7379e044723253a38f850bab56) Change-Id: If866a71cb031abfef6b1ab3c5ebe0869b1595300 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-05meta-phosphor: Disable use of pager for output of systemd toolsAndrew Jeffery1-0/+7
Prevent systemd from garbling its output with control characters that busybox doesn't interpret. (From meta-phosphor rev: b51d6e3322ea6cfa93e99c74663b7fb9923c2f65) Change-Id: I2dddce5bef6f41058574904193976ca74f0b0ac9 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-01-23phosphor-networkd: srcrev bump cb42fe26fe..dbd328d7e0Andrew Geissler1-1/+1
Karthick Sundarrajan (1): Correct the MAC address format in Redfish (From meta-phosphor rev: 3979e8b1de00bc2f1dbc65a233e09e6f11425fb8) Change-Id: Ib7deab9ee0e82f0623ca6809dfd46cfb96aaf884 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-01-20skeleton: srcrev bump bed673e220..1146f8c6e5Andrew Geissler1-1/+1
Joel Stanley (1): Add Joel to maintainers (From meta-phosphor rev: ebb2d670ec38b0b68ed558c1d43914b073e371a6) Change-Id: I885c1c6b8117960afed29859c10db0c4f7fab9bb Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-01-09skeleton: srcrev bump c8334f3258..bed673e220Andrew Geissler1-1/+1
Joel Stanley (1): control-host: Use fsi-master class paths (From meta-phosphor rev: 0ae881fcff8fcc08cb8a0254b3a57204868d0ba1) Change-Id: Iae7752927aa75e3a9ce6fc86da7d37b5d5b027fc Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-20image_types_phosphor: Make Version Purpose configurableAdriana Kobylak1-1/+4
The current version purpose is set to BMC[1]. Make it a configurable variable for cases where other Purpose value is more appropriate, like setting it to System if the machine includes the host-fw package that would package the BMC and host firmware code into a combined image. 1: https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/Software/Version.interface.yaml Tested: Verified the purpose is still BMC, then verifed that setting the variable from a machine.conf file changed its value. (From meta-phosphor rev: 356265535d268858840ddbe52ff8c1e37f084188) Change-Id: I159e73f9b9c310321dda885b10dbc1cd56a674ee Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-18Use debug-tweaks, allow-root-login to allow root.Richard Marian Thomaiyar1-0/+10
root user account is enabled with proper privilege and group, only if debug-tweaks or allow-root-login FEATURES is defined. Note: This will not remove root user getting managed from phosphor-user-manager, instead it will make sure, the privilege and groups are empty for the root user. Tested: 1. Verified the default build, which has debug-tweaks, allowing root user to be with priv-admin, and enabled for all groups. 2. Verified by removing debug-tweaks from the local.conf, and root user privilege & groups are empty. (From meta-phosphor rev: b1b8251f4e5f19189057cdeb998cf119be1c27b8) Change-Id: Iec2a0b1a9f84c27dd4947125903ce43f3a9c3c2c Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-16meta-phosphor: image_types_phosphor_nuvoton: handle new IGPS recipeBenjamin Fair1-3/+6
The XML files used by Bingo have been split into a separate recipe called "npcm7xx-igps" which must be added as a dependency. The location of the files has also changed. Tested: Built for MACHINE=gsj (From meta-phosphor rev: 23e318f8ff17488e3611719e2941ab41d9fa3b02) Change-Id: I3c3bcc83c3925db0e1c6280d42d613495060ce55 Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-06phosphor-software-manager: Add usr-local.mount to common codeAdriana Kobylak1-8/+0
The usr-local.mount service file does not depend on a ubi filesystem layout, so move it out to the common code. (From meta-phosphor rev: 02b6df9343687286836f87f2478eea3cc50d7af3) Change-Id: I398ebff667b8bee496debc933f2865e6cc1f03e5 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-23image_types_phosphor: Add do_generate_ext4_tar()Adriana Kobylak1-2/+27
Add a new do_generate_ext4_tar() function that creates a tarball with u-boot, kernel, ext4 rootfs and rwfs image files. This tarball is intended for systems running with a mmc chip. (From meta-phosphor rev: 02d65b716915f4424feca600f955937e1d16eb1a) Change-Id: I3545dbb7c36d4ba5a71fb3735324228e8b609a15 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>