Revision tags: 2.18.0-dev, 2.17.0-dev |
|
#
91a1cec2 |
| 26-Jun-2024 |
Andrew Geissler <geissonator@yahoo.com> |
styhead: update WORKDIR usage
The latest yocto release(styhead,5.1) has made a significant change[1] to the use of the WORKDIR parameter.
This is not the complete change required but gets us going
styhead: update WORKDIR usage
The latest yocto release(styhead,5.1) has made a significant change[1] to the use of the WORKDIR parameter.
This is not the complete change required but gets us going in the right direction.
[1]: https://docs.yoctoproject.org/next/migration-guides/migration-5.1.html#workdir-changes
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I4f184b361be69e7704a0657a4a00cdad981aff8a
show more ...
|
Revision tags: 2.16.0-dev, 2.14.0, 2.14.0-rc1, 2.15.0-dev, 2.13.0, 2.14.0-dev, 2.12.0, 2.12.0-rc1, 2.13.0-dev |
|
#
66277322 |
| 23-Feb-2022 |
Brandon Kim <brandonkim@google.com> |
meta-quanta: gbs: phosphor-gpio-monitor: Fix spaces
Noticed that the " were right next to = sign with no spaces. Added a space between =" in the bbappend file.
Signed-off-by: Brandon Kim <brandonki
meta-quanta: gbs: phosphor-gpio-monitor: Fix spaces
Noticed that the " were right next to = sign with no spaces. Added a space between =" in the bbappend file.
Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I957610d65d1465f268b3b93b4ff565d36020f09f
show more ...
|
#
d5c716dc |
| 17-Feb-2022 |
Patrick Williams <patrick@stwcx.xyz> |
treewide: fix append/remove directives
As mentioned by I970e06ca6f9d0a9792af122eb25da1bb9a06f058, append and remove directives with '+=' are no longer valid Yocto syntax and raise a warning.
See ht
treewide: fix append/remove directives
As mentioned by I970e06ca6f9d0a9792af122eb25da1bb9a06f058, append and remove directives with '+=' are no longer valid Yocto syntax and raise a warning.
See https://git.yoctoproject.org/poky/tree/documentation/migration-guides/migration-3.5.rst#n40
One interesting caveat has to do with the difference between "append" and "+=".
foo:append = "a" foo:append = "b"
Results in `foo = "ab"`, but
foo += "a" foo += "b"
Results in `foo = "a b"`. When `:append +=` is used it has behavior like the `+=` operator. Therefore, in some cases we need to insert additional whitespace after the `:append = "` to ensure concatenation behaves as expected. I've manually reviewed the results to ensure there is no ill side-effects from an additional space potentially being added.
Fix up the entire tree with the following one-liner (and similar for `remove`):
git ls-files -- ':!:poky/**' ':!:meta-security/**' \ ':!:meta-raspberrypi/**' ':!:meta-openembedded/**' \ | grep "\.bb" | xargs grep -l ":append.*+=" \ | xargs sed -i 's/:append\(.*\)+=\([^"]*\)" */:append\1=\2" /'
or ... | xargs grep -l ":remove.*+=" \ | xargs sed -i "s/:remove\(.*\)+=/:remove\1=/"
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iea6235e7c76e252f4d473652957c2925f6b8845a
show more ...
|
Revision tags: 2.11.0, 2.12.0-dev |
|
#
e83c2209 |
| 01-Sep-2021 |
Patrick Williams <patrick@stwcx.xyz> |
meta-phosphor: change systemd.bbclass to match upstream override syntax
Upstream bbclasses changed to typically use the `:${PN}` override syntax, including the SYSTEMD_ variables. Change our system
meta-phosphor: change systemd.bbclass to match upstream override syntax
Upstream bbclasses changed to typically use the `:${PN}` override syntax, including the SYSTEMD_ variables. Change our systemd.bbclass to do the same for consistency and perform a tree-wide variable replacement.
Spot checked by building bletchley and witherspoon and checking some of the SYSTEMD_LINK directives on installed packages under qemu.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
show more ...
|
#
82f3daca |
| 16-Aug-2021 |
David Wang <davidwang@quantatw.com> |
meta-quanta: Fix incorrect change in Yocto syntax update
'SYSTEMD_ENVIRONMENT_FILE', 'SYSTEMD_LINK', 'SYSTEMD_OVERRIDE' should stay underscore
Signed-off-by: David Wang <davidwang@quantatw.com> Cha
meta-quanta: Fix incorrect change in Yocto syntax update
'SYSTEMD_ENVIRONMENT_FILE', 'SYSTEMD_LINK', 'SYSTEMD_OVERRIDE' should stay underscore
Signed-off-by: David Wang <davidwang@quantatw.com> Change-Id: Ia30f306857d1552b19ff5ed06664c8bd5360cb4c
show more ...
|
#
026925dd |
| 12-Aug-2021 |
David Wang <davidwang@quantatw.com> |
meta-quanta: Cleanup for Yocto override syntax change
- Cleanup subtree meta-f0b, meta-olympus-nuvoton, meta-q71l with
convert-overrides.py meta-quanta/meta-f0b convert-overrides.py meta-quanta/met
meta-quanta: Cleanup for Yocto override syntax change
- Cleanup subtree meta-f0b, meta-olympus-nuvoton, meta-q71l with
convert-overrides.py meta-quanta/meta-f0b convert-overrides.py meta-quanta/meta-olympus-nuvoton convert-overrides.py meta-quanta/meta-q71l
git grep "_[a-z0-9_/-]*[ :]" -- meta-quanta/meta-f0b git grep "_[a-z0-9_/-]*[ :]" -- meta-quanta/meta-olympus-nuvoton git grep "_[a-z0-9_/-]*[ :]" -- meta-quanta/meta-q71l
git grep -l _f0b -- meta-quanta/meta-f0b | xargs sed -i 's/_f0b/:f0b/' git grep -l _olympus-nuvoton -- meta-quanta/meta-olympus-nuvoton | xargs sed -i 's/_olympus-nuvoton/:olympus-nuvoton/' git grep -l _quanta-q71l -- meta-quanta/meta-q71l | xargs sed -i 's/_quanta-q71l/:quanta-q71l/'
- Fix up a few by hand - Revert 'BBFILE_PATTERN' and 'LAYERSERIES_COMPAT' - Add honister to 'LAYERSERIES_COMPAT' - Update 'CONF_VERSION' - Fix up 'SYSTEMD_ENVIRONMENT_FILE', 'SYSTEMD_LINK' and 'SYSTEMD_OVERRIDE' in all subtree
Signed-off-by: David Wang <davidwang@quantatw.com> Change-Id: Ic431624d09dc5899b1d84439559bea9efca08ad8
show more ...
|
#
1e42709b |
| 10-Aug-2021 |
Brandon Kim <brandonkim@google.com> |
meta-quanta: meta-gbs: Cleanup for Yocto override syntax change
Cleanup with ``` convert-overrides.py meta-quanta/meta-gbs
git grep "_[a-z0-9_/-]*[ :]" -- meta-quanta/meta-gbs
git grep -l _gbs --
meta-quanta: meta-gbs: Cleanup for Yocto override syntax change
Cleanup with ``` convert-overrides.py meta-quanta/meta-gbs
git grep "_[a-z0-9_/-]*[ :]" -- meta-quanta/meta-gbs
git grep -l _gbs -- meta-quanta/meta-gbs \ | xargs sed -i 's/_gbs/:gbs/' ```
After cleanup ``` $ git grep "_[a-z0-9_/-]*[ :]" -- meta-quanta/meta-gbs/ | grep '.bb' meta-quanta/meta-gbs/recipes-bsp/images/npcm7xx-igps-native_%.bbappend:addtask do_gbs_prepare_xmls after do_patch before do_install meta-quanta/meta-gbs/recipes-gbs/gbs-sysinit/gbs-sysinit.bb:do_install () { meta-quanta/meta-gbs/recipes-google/acpi-power-state/acpi-power-state-daemon_%.bbappend:do_install:append:gbs() { meta-quanta/meta-gbs/recipes-phosphor/fans/phosphor-pid-control_%.bbappend:do_install:append:gbs() { meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend:do_install:append:gbs() { meta-quanta/meta-gbs/recipes-phosphor/interfaces/bmcweb_%.bbappend:do_install:append:gbs(){ meta-quanta/meta-gbs/recipes-phosphor/inventory/phosphor-inventory-manager_%.bbappend:do_install:append:gbs() { meta-quanta/meta-gbs/recipes-phosphor/ipmi/phosphor-ipmi-blobs-binarystore_%.bbappend:do_install:append:gbs() { meta-quanta/meta-gbs/recipes-phosphor/leds/phosphor-led-manager_%.bbappend:do_install:append:gbs() { meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-nvme_%.bbappend:do_install:append:gbs() { meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor_%.bbappend:do_install:append:gbs() { meta-quanta/meta-gbs/recipes-quanta/network/usb-network.bbappend:do_install:append:gbs() { meta-quanta/meta-gbs/recipes-x86/chassis/x86-power-control_%.bbappend:do_install:append:gbs() { ```
Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: If640ddd3c6f6084bb0a1d82e2d18fa2640d9d83e
show more ...
|
#
65cba58a |
| 29-Jul-2021 |
George Hung <george.hung@quantatw.com> |
meta-quanta: gbs: expose pwrgd_p12v_all_slots as an IPMI sensor
- monitor pwrgd_p12v_all_slots GPIO signal - add pwrgd_p12v_all_slots as IPMI sensor with pwrgd_p12v_slots sensor name
Signed-off-b
meta-quanta: gbs: expose pwrgd_p12v_all_slots as an IPMI sensor
- monitor pwrgd_p12v_all_slots GPIO signal - add pwrgd_p12v_all_slots as IPMI sensor with pwrgd_p12v_slots sensor name
Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I70ce89ad2a065cdc9ee59ace73085fea7036da0d
show more ...
|
Revision tags: 2.10.0-rc1, 2.11.0-dev |
|
#
e7588f81 |
| 15-Apr-2021 |
George Hung <george.hung@quantatw.com> |
meta-quanta: gbs: monitor fans e-fuse PG GPIO signal
- add fans e-fuse PG GPIO config file - add fans e-fuse PG GPIO as the sensor - monitor fans e-fuse PG GPIO and when it assert low, record the
meta-quanta: gbs: monitor fans e-fuse PG GPIO signal
- add fans e-fuse PG GPIO config file - add fans e-fuse PG GPIO as the sensor - monitor fans e-fuse PG GPIO and when it assert low, record the SEL log
Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I32298097b1e79036b67edea65b84ef4d78cbacfc
show more ...
|
Revision tags: 2.9.0, 2.9.0-rc1, 2.10.0-dev |
|
#
fd8041ee |
| 20-Jul-2020 |
George Hung <george.hung@quantatw.com> |
meta-quanta: gbs: expose more GPIO signals as IPMI SDR
1. monitor more GPIO signals
gpio_net_name / gpio_number: ['SATA0_PRSNT_N']=5 ['HSBP_CABLE_PRSNT_BUF_N']=57 ['FAN_BRD_CABLE_PRSNT_BUF']=58 ['H
meta-quanta: gbs: expose more GPIO signals as IPMI SDR
1. monitor more GPIO signals
gpio_net_name / gpio_number: ['SATA0_PRSNT_N']=5 ['HSBP_CABLE_PRSNT_BUF_N']=57 ['FAN_BRD_CABLE_PRSNT_BUF']=58 ['HSBP_P12V_STBY_CABLE_PRSNT']=69 ['PE_SLOT0_PRSNT_N']=120 ['PE_SLOT1_PRSNT_N']=121
2. add these GPIO signals to the sensor YAML config
(From meta-quanta rev: de864a90b91c72a9d31a36688d744a12926a57b3)
Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ie39512763757e222ca386349a4c45af135500d65 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
#
d6d41d24 |
| 04-Jun-2020 |
George Hung <george.hung@quantatw.com> |
meta-quanta: gbs: detect SlimSAS cable presence
Add gpio configuration for SlimSAS cable0~3 and detect cables connected or not
(From meta-quanta rev: 09b8cd98a953ef96fabd7bc1c8d090bd02c53d88)
Sign
meta-quanta: gbs: detect SlimSAS cable presence
Add gpio configuration for SlimSAS cable0~3 and detect cables connected or not
(From meta-quanta rev: 09b8cd98a953ef96fabd7bc1c8d090bd02c53d88)
Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ifee5ebf1a1055943ade8defce6be63b690bea8d2 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|