meta-starlingx/meta-stx-distro/classes/stx-postrun.bbclass
Babak Sarashki 63b6601bdd meta-stx: update LICENSE and copyright info
- Change License from Apache2 to MIT.
- Remove Copyright from individual recipes
- Move License to README.md
- Add meta-stx Copyright to README.md

Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-08 13:00:26 -07:00

17 lines
455 B
Plaintext

# This class is intended to include workarounds and finetuning of the rootfs
# Most of the stuff in here needs to go else where.
ROOTFS_POSTPROCESS_COMMAND_append = " stx_postprocess_rootfs;"
# ETHDEV = "enp0s5"
stx_postprocess_rootfs() {
# Issue: #83 /dev/root does not exist
# This workaround is to be removed once initramfs is added
cat > ${IMAGE_ROOTFS}/etc/udev/rules.d/99-dev-root-symlink.rules << \EOF
KERNEL=="sda3", SYMLINK+="root"
EOF
}