sysmocom-owhw-image: no initramfs, hard-link for kernel
for some reason barebox is not able to resolve the symlink, so let's create a hard link instead.
This commit is contained in:
parent
08406f0a8c
commit
b53807060b
|
@ -15,13 +15,11 @@ link_kernel() {
|
||||||
OLD_PWD=$PWD
|
OLD_PWD=$PWD
|
||||||
|
|
||||||
cd ${IMAGE_ROOTFS}/
|
cd ${IMAGE_ROOTFS}/
|
||||||
ln -s ./boot/uImage-* ./kernel || true
|
ln ./boot/uImage-* ./kernel || true
|
||||||
|
|
||||||
echo "Copying devicetree to /devicetree"
|
echo "Copying devicetree to /devicetree"
|
||||||
cp "${DEPLOY_DIR_IMAGE}/uImage-am335x-gsmk-owhw.dtb" ./devicetree
|
cp "${DEPLOY_DIR_IMAGE}/uImage-am335x-gsmk-owhw.dtb" ./devicetree
|
||||||
|
|
||||||
touch ./initramfs
|
|
||||||
|
|
||||||
cd $OLD_PWD
|
cd $OLD_PWD
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue