diff options
| author | Raptor Engineering Development Team <support@raptorengineering.com> | 2020-02-18 08:50:18 +0000 |
|---|---|---|
| committer | Raptor Engineering Development Team <support@raptorengineering.com> | 2020-02-19 11:07:49 +0000 |
| commit | 5382a327eaeb375ac33f85ffcc1dff10e06645b8 (patch) | |
| tree | 27abcefdf6a7dbf8799c07c07b40584df7513b6f | |
| parent | b0aa724338d640916e875713d6268fe49fbf47e5 (diff) | |
| download | blackbird-openbmc-5382a327eaeb375ac33f85ffcc1dff10e06645b8.tar.gz blackbird-openbmc-5382a327eaeb375ac33f85ffcc1dff10e06645b8.zip | |
Don't install the SCSI/ATA/CDROM ID utilities.
These utilities just waste space on embedded systems that will never
have a disk, optical drive, or webcam attached.
| -rw-r--r-- | poky/meta/recipes-core/systemd/systemd_241.bb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/poky/meta/recipes-core/systemd/systemd_241.bb b/poky/meta/recipes-core/systemd/systemd_241.bb index e61e07e95..9c001db42 100644 --- a/poky/meta/recipes-core/systemd/systemd_241.bb +++ b/poky/meta/recipes-core/systemd/systemd_241.bb @@ -288,6 +288,11 @@ do_install() { # duplicate udevadm for postinst script install -d ${D}${libexecdir} ln ${D}${base_bindir}/udevadm ${D}${libexecdir}/${MLPREFIX}udevadm + + # These just waste space in a BMC environment + rm -f ${D}/lib/udev/scsi_id + rm -f ${D}/lib/udev/ata_id + rm -f ${D}/lib/udev/cdrom_id } @@ -569,14 +574,11 @@ FILES_udev += "${base_sbindir}/udevd \ ${rootlibexecdir}/systemd/network/99-default.link \ ${rootlibexecdir}/systemd/systemd-udevd \ ${rootlibexecdir}/udev/accelerometer \ - ${rootlibexecdir}/udev/ata_id \ - ${rootlibexecdir}/udev/cdrom_id \ ${rootlibexecdir}/udev/collect \ ${rootlibexecdir}/udev/findkeyboards \ ${rootlibexecdir}/udev/keyboard-force-release.sh \ ${rootlibexecdir}/udev/keymap \ ${rootlibexecdir}/udev/mtd_probe \ - ${rootlibexecdir}/udev/scsi_id \ ${rootlibexecdir}/udev/v4l_id \ ${rootlibexecdir}/udev/keymaps \ ${rootlibexecdir}/udev/rules.d/*.rules \ |

