summaryrefslogtreecommitdiff
path: root/meta-phosphor/classes
AgeCommit message (Collapse)AuthorFilesLines
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>
2019-10-23image_types_phosphor: Add do_generate_rwfs_ext4()Adriana Kobylak1-0/+15
Create a new do_generate_rwfs_ext4() function that generates an empty ext4 rwfs image file of arbitrary size 1MB. This file is needed to create a tarball image for code update to use. The size can later be updated, this commit is intended as a first step for creating a tarball with ext4 image files. (From meta-phosphor rev: 846990eb90e662176c9e8c395e1093ebf7e6934c) Change-Id: Idf9cd1dc4f79c2f6cf7f567b8abaf35123a5ca6a Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-23image_types_phosphor: Split make_rwfs()Adriana Kobylak1-3/+12
The make_rwfs() was doing some cleanup before creating the rwfs file. Split it into two functions clean_rwfs() and make_rwfs() for cases where some prep work is needed before calling the rwfs command, such as when using mkfs.ext4 that needs to have a file created before it's converted into ext4. (From meta-phosphor rev: e82e8bc686b0a17f29d1d296f1d52543f2bc5ae0) Change-Id: Idebaab86bfd6ff0c02444d9c62543e97e9ba0dcd Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-23image_types_phosphor: Remove mtd from make_tar_of_images()Adriana Kobylak1-4/+4
The make_tar_of_images() function was adding an mtd suffix to the tarball name. Make the caller pass the suffix instead so that this function can be used to create tarballs intended for non-mtd systems such as systems based on a mmc chip. (From meta-phosphor rev: 7bdbb7a6adaa655ba56ae2e289a59e13c9428b14) Change-Id: I80ee15337f99ec59cce119668ef7f5afb2313189 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-23image_types_phosphor: Rename mk_nor_image()Adriana Kobylak1-3/+3
The mk_nor_image() function just creates an empty image file. Rename it to mk_empty_image() so that it makes more sense when used to create a file for other chips such as a mmc instead of a nor, like an empty rwfs ext4 image file. (From meta-phosphor rev: fdb81a30d7e86309aeafc6b6ab1ebf8f9cf93d88) Change-Id: I31231ddaec5a8c195da315841e59ecdfb16647a5 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-17meta-phosphor: Adding machine name in MANIFESTVijay Khemka1-0/+2
Added machine name in the image manifest file which can be used to verify on target while upgrading (From meta-phosphor rev: ba9f97ed4018c8a6b1d74cb958bfb2a80fd94546) Change-Id: I31dca600c0a2ff1bd2cf8e13c486e529d245b5d7 Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-17Variable to pass extra option to MRW parsersSantosh Puranik1-0/+2
This commit adds a variable to allow MRW parsers to be passed an option to skip targets that are broken or not fully defined in the MRW. Recipes that invoke the parsers can use this option as an indication to the parser script to ignore MRW errors. The option variable is empty by default, but layers can choose to override this as necessary. Tested: I tested by enabling this option in the meta-ibm rainier layer and verified that the right option is passed to the MRW parsers. (From meta-phosphor rev: fc77979764f7c8599a451f619630f8d7be2cc09b) Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com> Change-Id: I54b349597b30deb77a98af0686a67e03befe2429 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-17phosphor-networkd: srcrev bump 046b2a0b37..cb42fe26feAndrew Geissler1-1/+1
Johnathan Mantey (1): Enable ethtool to retrieve the NIC speed, duplex, autoneg values (From meta-phosphor rev: 75875352752cce95d78cc5530804b1e9d4b244ea) Change-Id: Ic0c4e17e198dbdbe31c0c708d53efeecb5cf24e2 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-04phosphor-networkd: srcrev bump b40059779a..046b2a0b37Andrew Geissler1-1/+1
Ratan Gupta (1): Allow static configuration of NTP and DNS in DHCP mode (From meta-phosphor rev: 43cf77ab7c0e7021793dd7e187d13903e04fb2b1) Change-Id: I98542d52475ebe4e16735d43ca83d3825c6515fa Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-01phosphor-networkd: srcrev bump 38a63c3012..b40059779aAndrew Geissler1-1/+1
Ratan Gupta (1): Remove the code which updates resolv.conf for dhcp supplied DNS (From meta-phosphor rev: 4819265e8c6ff88d49aa25b4ecad3c7bb67e8702) Change-Id: I2f3b12883a175057f18cf4d68328f7f11866bf55 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-27phosphor: image_types_phosphor: flash overridesBrad Bishop2-0/+9
Add an override based on FLASH_SIZE, for use with the hardcoded offsets that exist when building raw flash images. This lets us have different flash layouts for different size flash modules that can be shared between machines. The existing 32MiB layouts are unchanged: partition: size: offset u-boot: 384 KiB (0 KiB) u-boot-env: 128 KiB (384 KiB) kernel/FIT: 4352 KiB (512 KiB) rootfs: 23808 KiB (4864 KiB) rwfs: 4MiB (28672 KiB) The new layout is as follows: partition: size: offset u-boot: 896 KiB (0 KiB) u-boot-env: 128 KiB (896 KiB) kernel/FIT: 9 MiB (1 MiB) rootfs: 86 MiB (10 MiB) rwfs: 32MiB (96 MiB) (From meta-phosphor rev: 9e84ca2ad4aa7f864bb53faa6f21ae580d64d07d) Change-Id: I4edf302d4e738b31906cd03459ad6f2f44c3c749 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-25nuvoton: Apply image overrides to all image typesWilliam A. Kennington III1-0/+46
Right now, nuvoton overrides needed for generating and applying the bootblock are not applied to images other than obmc-phosphor-image. This means that core-image-minimal is unbootable on nuvoton platforms. This change makes the nuvoton overrides apply globally to all images. (From meta-phosphor rev: 9819cb9533f430797d47dadff558cf4462670976) Change-Id: If4bef5f8106278fa6ebeb2198bc43fdd2b70a641 Signed-off-by: William A. Kennington III <wak@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-23image_types_phosphor: Make rwfs name dependentWilliam A. Kennington III1-10/+10
If we try and generate a `core-image-minimal` and `obmc-phosphor-image` target in the same workspace we will currently encounter an error in bitbake complaining about ``` obmc-phosphor-image-1.0-r0 do_image_complete: The recipe obmc-phosphor-image is trying to install files into a shared area when those files already exist. Those files and their manifest location are: rwfs.jffs2 ``` This patch fixes the complaint by using a distinctly generated rwfs per image type. (From meta-phosphor rev: 8ba81f79c03e673e682079da1f2c62ebb1325645) Change-Id: I5be72cc7d442f5c5853d87de27a57996a6af98e4 Signed-off-by: William A. Kennington III <wak@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-20mrw-rev.bbclass bump version 715c97eAndrew Geissler1-1/+1
Do not add empty paths to output file gen-ipmi-sel: force numeric context Add tool to dump out all targets and attributes Add tool to print out the inventory Fix callout I2C path (From meta-phosphor rev: d0ab34aff205421b33b4e160deca1d450f89e754) Change-Id: I6d52195ca4a8ec919a9293ccd3d0fc83d59fef1c Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-18phosphor-networkd: srcrev bump 5fb6c33a49..38a63c3012Andrew Geissler1-1/+1
Alvin Wang (1): Add two MAC addresses support for Mihawk's 2 NICs (From meta-phosphor rev: 9a72c418c99a9c23fff11ebd4d2c2150edbe3d08) Change-Id: I89d426ab29078dd882b1d1840ffca5ad3241a3fa Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-01phosphor-networkd: srcrev bump 5b023f5f77..5fb6c33a49Andrew Geissler1-1/+1
Manojkiran Eda (1): Network : Added Validation of Nameserver IP's (From meta-phosphor rev: 87981e5f4c4f4548dc62587d6b32adbec5a8c306) Change-Id: I8dba437589600b82c9ec69e7608614426353cb99 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-14phosphor-networkd: srcrev bump 2dae96946b..5b023f5f77Andrew Geissler1-1/+1
Johnathan Mantey (1): Permit IPv6 Address Router Advertisement values to be changed (From meta-phosphor rev: db22a2154e493a49dfe70fe2ed1a9ad86a204196) Change-Id: If8cf6d37b55d7b16d3c74f525054ebd6d70baa7c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-07Enhance Discovery class infrastructureasmithakarun1-7/+13
The service files contains a 'txt' field, where service-specific data can be added. Addition of this text record facilitates unique identification of IBM BMCs in a network. The idea of this commit is to enhance the bbclass to append a new text record in the avahi static service files. This text record is added only for avahi and not slp. Tested By: The additional data should be in the form of 'Key=Value', else the build will be terminated with the corresponding error. The following possibilities are tested: 1. Key=Value => True 2. Key= => False 3. Key=Value| => True 4. =Value => False 5. Key=Value= => False 6. == => False (From meta-phosphor rev: 2d6aedfb652bc0e6c7657dae586349823e3fb26d) Signed-off-by: asmithakarun <asmithkr@in.ibm.com> Change-Id: Ie0b8466a10097d7fdbfd0c8849a0c0d7145e3923 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-24phosphor-networkd: srcrev bump ebb1ad0c20..2dae96946bAndrew Geissler1-1/+1
William A. Kennington III (11): test: Mock out MAC address access test: Clear out old mocks prior to testing test: Mock rtnetlink calls test_netlink: Add basic request test ethernet_interface: Emit error when missing MAC test: Don't catch exceptions needlessly neighbor: Rework getCurrentNeighbors ethernet_interface: Get rid of address gateway usage ethernet_interface: Write the MAC to configuration ethernet_interface: Fix u-boot MAC environment variable ipaddress: Only check address origin for delete (From meta-phosphor rev: 8c5860121ccba20caa2571b467f6db090eade611) Change-Id: Ied1804ce1fc8a0756d253fc303e659f2490268b1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-17phosphor-networkd: srcrev bump a2145bf5aa..ebb1ad0c20Andrew Geissler1-1/+1
William A. Kennington III (1): test: Mock out interface lookups (From meta-phosphor rev: 901b6b82a36e514ad1b142128d78942eef8a2e65) Change-Id: Ice91741828200e6479588a27798c856d3f9919e9 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-13phosphor-networkd: srcrev bump 2fd2f7da68..a2145bf5aaAndrew Geissler1-1/+1
William A. Kennington III (2): util: Clean up MAC address formatting vlan: Disable MAC address setting (From meta-phosphor rev: 66020506c0236d369c23cee8e53056bf0a77d433) Change-Id: I476f5272f6143910cf41baad650f860e226295f5 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-11phosphor-networkd: srcrev bump f51620ddfa..2fd2f7da68Andrew Geissler1-1/+1
Ravi Teja (1): Network: Remove IP dbus properties update support (From meta-phosphor rev: 155bb88db7fa0a4616bd03ed2c6aa1568a0f6428) Change-Id: Id1e9fb53818c3b324c2c57b0ab31e0201acba74b Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-09phosphor-networkd: srcrev bump 946d15940b..f51620ddfaAndrew Geissler1-1/+1
William A. Kennington III (4): build: Apply fixes to accommodate build system updates neighbor: Refactor out netlink code types: Remove custom MacAddr type test: Remove unused mock (From meta-phosphor rev: a9a128677086c8a0a45485216064621d0874eccd) Change-Id: Id81f06a2ad8dc0e4c2b8250938aa7080d0f382d2 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-09meta-phosphor: drop flto-automakePatrick Venture1-6/+0
The flto-automake class is no longer required for flto support. (From meta-phosphor rev: 1cd0d85baa6418b5caa6d782483044d58c402061) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ib7d0169d7aa622f955cf7cc214a9e72ec1d34e95 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-20phosphor-networkd: srcrev bump 7bcaccfdae..946d15940bAndrew Geissler1-1/+1
Patrick Venture (1): build: install into bin instead of sbin (From meta-phosphor rev: 2f55f0b397c9aeefc6a0c8ba666cfb10ef6ae117) Change-Id: I46e734d3ea91164c52afb69430a90f355b7fd862 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-14phosphor-networkd: srcrev bump 0283b39bd3..7bcaccfdaeAndrew Geissler1-1/+1
William A. Kennington III (1): makefile: Get rid of unneeded include prepends (From meta-phosphor rev: 0d52b0cf5a8721996c3aebe832dd08ed167a8ec5) Change-Id: If91d0c84b26ce821b0cef891b89f1808704e4309 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-03phosphor-bmc-code-mgmt: srcrev bump d5b8f75c2f..a013560f96Andrew Geissler1-0/+1
Jayashankar Padath (1): Code Update: ApplyTime software manager support Add new service force-reboot.service This adds a new service, force-reboot.service to meta-phosphor layer which initiates a bmc reboot when ApplyTime value is immediate. Reboot is only carried out after the reboot-guard-disable.service and activation process got completed successfully. (From meta-phosphor rev: f7e8258b053f55a753396be8d9dcad1d555c4c04) Change-Id: I31725a151c2d36f94e46b93c06d189fe43526c1e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-29Revert "meta-phosphor: rsyslog: turn off remote logging"Santosh Puranik1-0/+1
This reverts commit b2c81a4dbdb409e1fae7fdefda99adb97f40d912. With changes made to the default rsyslog.conf, rsyslog discards all messages. This prevents the scenario where systemd would try to launch rsyslog on socket activation, causing slowness during boot. (From meta-phosphor rev: e989a6ba8103be2116ba4159e93b910dfc7555ca) Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com> Change-Id: I7eb5511fc0109bc661a0e837f5bc11a636c7d36a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-21meta-phosphor: Improve kernel version stringLei YU1-0/+17
The kernel version string by yocto by default is <tag>-<revision>, e.g. 5.0.7-b1b37a25644213428f4bab4c427581dd923e35da Where the revision is the version specified by SRCREV, no matter if there are additional pathces applied or not. This commit improves it by * If there are no yocto patches, keep the current version but use a shorter revision, e.g. 5.0.7-b1b37a2 * If there are yocto patches, append -dirty-<new-short-revision> to the version string, e.g. 5.0.7-b1b37a2-dirty-84fa553 Resolves openbmc/openbmc#1289 Tested: Verify the kernel version string is changed as above depending on if there are yocto patches. (From meta-phosphor rev: fcfd10d7380309bc274c4f5a8355ecaeb60ce439) Change-Id: I4210227a981721a6b322d640984ea58c57802cb1 Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-20phosphor-networkd: srcrev bump 0850579309..0283b39bd3Andrew Geissler1-1/+1
Brad Bishop (1): maintainers: Add William Kennington (From meta-phosphor rev: 020c64c9f761a030700b445165ee0ef4297d89b7) Change-Id: Ie2184d9bed9002d96395bcabc2ec96808af6b8e8 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-15phosphor-software-manager: Use in-repo script, systemd conf and unitsAdriana Kobylak1-6/+0
Use the script, systemd configuration file and service files provided by phosphor-software-manager. Tested: The moved files are installed in their respective locations and code update on Witherspoon is successful. (From meta-phosphor rev: 3b5c7fdc75988dfae86b824708a97c9e8764a565) Change-Id: I316ab2b9bc0a250a5707b15251a9de8810217243 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-22phosphor-networkd: srcrev bump f273d2b562..0850579309Andrew Geissler1-1/+1
William A. Kennington III (1): Static neighbor support (From meta-phosphor rev: 639f66d086f69f7b7915cb43900da81c4dd20d59) Change-Id: I8f6901143d5b62de7ac57be4842e1ff6e8fff2be Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-17meta-phosphor: obmc-phosphor-image: rm extrasdevBrad Bishop1-1/+0
Don't install packagegroup-obmc-apps-extrasdev by default. It only includes a single python script rest-dbus and drags in python on the target. To include packagegroup-obmc-apps-extrasdev add a line like: IMAGE_INSTALL_append = " packagegroup-obmc-apps-extrasdev" to your local.conf (From meta-phosphor rev: d0620aa530293d477a069837236e81ef17ead28a) Change-Id: I697a3870e1c7767d4f524619ed1c258c4055031e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-16skeleton: srcrev bump c0c74e7cca..c8334f3258Andrew Geissler1-1/+1
Brad Bishop (1): Revert "Revert "skeleton: Remove obmcutil"" (From meta-phosphor rev: b32731c6b26d45014600fb437988827635e69304) Change-Id: Id21bc3d76d566e80eca770b4eba06c4bd0ec3393 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-16meta-phosphor: Don't build debug tarball implicitlyEd Tanous1-2/+0
In previous builds, the debug tarball was built as part of the obmc-phosphor-image implicitly. This increases the build times by a trivial amount, which matters, but is not that important. It also makes debugging image dependencies (using bitbake -g) a bear, given that it includes all dependencies for the debug tarball, as well as the actual image. Given that it's pretty trivial to build this manually via bitbake obmc-debug-tarball and (at least in my opinion) injecting the task seems like a bit of a violation of the yocto intracacies, and gives a surprising result to the user, this patchset removes the task add, and makes obmc-phosphor-debug-tarball a truly separate build target. (From meta-phosphor rev: 5c848ab3436bd0ed1062c4657f35a6a6890992ad) Signed-off-by: Ed Tanous <ed.tanous@intel.com> Change-Id: Ie2294f8e324249a44ef73aa10d57f332e8f54168 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-11phosphor-networkd: srcrev bump f1aa51cedf..f273d2b562Andrew Geissler1-1/+1
William A. Kennington III (5): Makefile: Fix bad system header flag build: Use libnl package config instead of hardcoding util: Use standard ether functions for conversion vlan: Modify create method to return an ObjectPath util: Don't ignore non-running interfaces raviteja-b (1): Network:Modified create interface to return the D-Bus object ID (From meta-phosphor rev: 2005567e63646f88a6de224d9732c422b4df9888) Change-Id: Ifb629bf4c210246a9d8d289e6750bf14e9e0cbb7 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-10skeleton: srcrev bump c0da84767c..c0c74e7ccaAndrew Geissler1-1/+1
Anthony Wilson (1): skeleton: Use ioctl gpio handling (From meta-phosphor rev: cac8501f2e5404f0f4e5dfb6539049a7040813ef) Change-Id: Idac66c5f57a0800ab2b104c501d8e4ae22aa6fc7 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-06update upstream subtreesBrad Bishop1-1/+1
A number of corequisites exist so squashing these all into one patch. meta-ingrasys - refresh master bc513127f4..67bcaf389f meta-hxt - refresh master 86a4df514f..8fe0d38bbb meta-phosphor - refresh master 06c09d7cce..df6ddae3d2 meta-quanta - refresh master 4f126361a1..53f3025271 Change-Id: I3daeef2a0467d8ea4f1fd1c617e526f8b11258af Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-05meta-phosphor: rsyslog: turn off remote loggingBrad Bishop1-1/+0
Don't enable the remote-logging image feature by default. This avoids https://github.com/openbmc/phosphor-logging/issues/19, which prevents OpenBMC from advancing its upstream subtrees (like poky, meta-openembedded ...). (From meta-phosphor rev: b2c81a4dbdb409e1fae7fdefda99adb97f40d912) Change-Id: I428e2d5a8d1184c25e4900ae166a99baf5f8094d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-05skeleton: srcrev bump eaedbe9448..c0da84767cAndrew Geissler1-1/+1
Brad Bishop (1): Revert "skeleton: Remove obmcutil" (From meta-phosphor rev: 3d223780cb494fce39e30243ffbc3bbac4dfe644) Change-Id: I6742b72abcbc9c3f3622b2afd3f93dd70b8d8e3f Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-02skeleton: srcrev bump e32e33784a..eaedbe9448Andrew Geissler1-1/+1
Anthony Wilson (1): skeleton: Remove obmcutil Brad Bishop (1): buttons: Remove legacy button applications (From meta-phosphor rev: 5e2dd782ab9e83eaa845d271e6c170ed46f7817e) Change-Id: I98a85946e82ad5c51480824079fb640324d77dd7 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-21obmc-phosphor-systemd: allow systemd unit from repoLei YU1-4/+12
If a recipe inherits obmc-phosphor-systemd, all the systemd units defined in the recipe shall exist in the code tree, otherwise it reports "Did not find unit file" error. This commit changes the behavior, and do not report the error if a unit does not exist in code tree. This allows the system unit to be installed from repo, as long as the repo does install the systemd unit to expected path. Tested: Verify the below case passes the build and the unit is installed correctly in the built image: * Put a systemd unit in repo; * In repo, install the unit into /lib/systemd/system * The repo's recipe defines SYSTEMD_SERVICE_${PN} without putting the unit in openbmc tree And verify if the systemd unit in repo is not installed, the build fails due to missing the unit. (From meta-phosphor rev: 5f56aaf1204a39035da1a493a97e86a73650000f) Change-Id: I9ec9c188357c2995d3e8ddbf2675c60f5e17560e Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>