mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
linux: Make kernel symlinks relative so they can be copied/moved and still work
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2908 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -164,8 +164,7 @@ do_deploy() {
|
||||
install -d ${DEPLOY_DIR_IMAGE}
|
||||
install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_DEPLOY_NAME}
|
||||
cd ${DEPLOY_DIR_IMAGE}
|
||||
rm -f ${KERNEL_SYMLINK_NAME}
|
||||
ln -s ${KERNEL_DEPLOY_NAME} ${KERNEL_SYMLINK_NAME}
|
||||
ln -sf ${KERNEL_DEPLOY_NAME} ${KERNEL_SYMLINK_NAME}
|
||||
tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_VERSION}-${MACHINE}.tgz -C ${D} lib
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user