mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-29 03:22:36 +00:00
meta: update all recipes for the UNPACKDIR transition
* No more 'S = "${WORKDIR}"', which is not permitted
* All ${WORKDIR} references for local files updated to ${UNPACKDIR}
* Custom do_unpack for the recipes that are in the public_sources
archive in the BSP adjusted for the new unpacking approach
* Some SRC_URIs updated with 'destsuffix=' parameters where needed
Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
@@ -11,20 +11,18 @@ SRC_URI = "\
|
||||
|
||||
COMPATIBLE_MACHINE = "(tegra)"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_install() {
|
||||
install -m 0755 ${WORKDIR}/init-flash.sh ${D}/init
|
||||
install -m 0755 ${WORKDIR}/init-extra.sh ${D}/init-extra
|
||||
install -m 0755 ${UNPACKDIR}/init-flash.sh ${D}/init
|
||||
install -m 0755 ${UNPACKDIR}/init-extra.sh ${D}/init-extra
|
||||
install -m 0755 -d ${D}/init-extra.d
|
||||
install -m 0555 -d ${D}/proc ${D}/sys
|
||||
install -m 0755 -d ${D}/dev ${D}/mnt ${D}/run ${D}/usr
|
||||
install -m 1777 -d ${D}/tmp
|
||||
mknod -m 622 ${D}/dev/console c 5 1
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 ${WORKDIR}/program-boot-device.sh ${D}${bindir}/program-boot-device
|
||||
install -m 0755 ${UNPACKDIR}/program-boot-device.sh ${D}${bindir}/program-boot-device
|
||||
install -d ${D}${sysconfdir}/initrd-flash
|
||||
install -m 0644 ${WORKDIR}/initrd-flash.scheme.in ${D}${sysconfdir}/initrd-flash/
|
||||
install -m 0644 ${UNPACKDIR}/initrd-flash.scheme.in ${D}${sysconfdir}/initrd-flash/
|
||||
}
|
||||
|
||||
FILES:${PN} = "/"
|
||||
|
||||
@@ -6,7 +6,8 @@ SRC_URI = "file://reboot-recovery.c"
|
||||
|
||||
COMPATIBLE_MACHINE = "(tegra)"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
S = "${WORKDIR}/sources"
|
||||
UNPACKDIR = "${S}"
|
||||
B = "${WORKDIR}/build"
|
||||
|
||||
do_compile() {
|
||||
|
||||
@@ -11,16 +11,14 @@ COMPATIBLE_MACHINE = "(tegra)"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_install() {
|
||||
install -m 0755 ${WORKDIR}/init-boot.sh ${D}/init
|
||||
install -m 0755 ${UNPACKDIR}/init-boot.sh ${D}/init
|
||||
install -m 0555 -d ${D}/proc ${D}/sys
|
||||
install -m 0755 -d ${D}/dev ${D}/mnt ${D}/run ${D}/usr
|
||||
install -m 1777 -d ${D}/tmp
|
||||
mknod -m 622 ${D}/dev/console c 5 1
|
||||
install -d ${D}${sysconfdir}
|
||||
install -m 0644 ${WORKDIR}/platform-preboot.sh ${D}${sysconfdir}/platform-preboot
|
||||
install -m 0644 ${UNPACKDIR}/platform-preboot.sh ${D}${sysconfdir}/platform-preboot
|
||||
sed -i -e "s#@@TNSPEC_BOOTDEV@@#${TNSPEC_BOOTDEV}#g" ${D}${sysconfdir}/platform-preboot
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user