summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-10-19 10:22:01 +0000
committerRichard Purdie <richard@openedhand.com>2007-10-19 10:22:01 +0000
commitf3b960b426eb5ac859f18c164283f2220234f13e (patch)
tree310c8669ba138bfa20ae3311d8b8df27482c2474 /meta/packages
parent411cbb402093bd5554cfd3948012c371cc17843a (diff)
downloadpoky-f3b960b426eb5ac859f18c164283f2220234f13e.tar.gz
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
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/linux/linux-gta01.inc3
-rw-r--r--meta/packages/linux/linux-mx31.inc4
-rw-r--r--meta/packages/linux/linux-nokia800.inc4
-rw-r--r--meta/packages/linux/linux-rp.inc3
4 files changed, 7 insertions, 7 deletions
diff --git a/meta/packages/linux/linux-gta01.inc b/meta/packages/linux/linux-gta01.inc
index 909d7459b7..4f4dc13fd2 100644
--- a/meta/packages/linux/linux-gta01.inc
+++ b/meta/packages/linux/linux-gta01.inc
@@ -94,7 +94,8 @@ do_deploy() {
94 rm -f linux.bin.gz 94 rm -f linux.bin.gz
95 gzip -9 linux.bin 95 gzip -9 linux.bin
96 ${STAGING_BINDIR_NATIVE}/uboot-mkimage -A arm -O linux -T kernel -C gzip -a 30008000 -e 30008000 -n "OpenMoko Kernel Image Neo1973(GTA01)" -d linux.bin.gz ${DEPLOY_DIR_IMAGE}/uImage-${PV}-${PR}-${MACHINE}.bin 96 ${STAGING_BINDIR_NATIVE}/uboot-mkimage -A arm -O linux -T kernel -C gzip -a 30008000 -e 30008000 -n "OpenMoko Kernel Image Neo1973(GTA01)" -d linux.bin.gz ${DEPLOY_DIR_IMAGE}/uImage-${PV}-${PR}-${MACHINE}.bin
97 ln -sf ${DEPLOY_DIR_IMAGE}/uImage-${PV}-${PR}-${MACHINE}.bin ${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}-latest.bin 97 cd ${DEPLOY_DIR_IMAGE}
98 ln -sf uImage-${PV}-${PR}-${MACHINE}.bin uImage-${MACHINE}-latest.bin
98 rm -f linux.bin.gz 99 rm -f linux.bin.gz
99} 100}
100 101
diff --git a/meta/packages/linux/linux-mx31.inc b/meta/packages/linux/linux-mx31.inc
index a912b038e5..1bec2535db 100644
--- a/meta/packages/linux/linux-mx31.inc
+++ b/meta/packages/linux/linux-mx31.inc
@@ -31,8 +31,8 @@ do_configure_prepend() {
31do_deploy() { 31do_deploy() {
32 install -d ${DEPLOY_DIR_IMAGE} 32 install -d ${DEPLOY_DIR_IMAGE}
33 install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin 33 install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin
34 rm -f ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin 34 cd ${DEPLOY_DIR_IMAGE}
35 ln -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin 35 ln -sf ${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${KERNEL_IMAGETYPE}-${MACHINE}.bin
36 tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib 36 tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib
37} 37}
38 38
diff --git a/meta/packages/linux/linux-nokia800.inc b/meta/packages/linux/linux-nokia800.inc
index 65dc85478b..ad4d040542 100644
--- a/meta/packages/linux/linux-nokia800.inc
+++ b/meta/packages/linux/linux-nokia800.inc
@@ -35,8 +35,8 @@ do_configure_prepend() {
35do_deploy() { 35do_deploy() {
36 install -d ${DEPLOY_DIR_IMAGE} 36 install -d ${DEPLOY_DIR_IMAGE}
37 install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin 37 install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin
38 rm -f ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin 38 cd ${DEPLOY_DIR_IMAGE}
39 ln -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin 39 ln -sf ${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${KERNEL_IMAGETYPE}-${MACHINE}.bin
40 tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib 40 tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib
41} 41}
42 42
diff --git a/meta/packages/linux/linux-rp.inc b/meta/packages/linux/linux-rp.inc
index 526d652124..a63ea20a1e 100644
--- a/meta/packages/linux/linux-rp.inc
+++ b/meta/packages/linux/linux-rp.inc
@@ -164,8 +164,7 @@ do_deploy() {
164 install -d ${DEPLOY_DIR_IMAGE} 164 install -d ${DEPLOY_DIR_IMAGE}
165 install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_DEPLOY_NAME} 165 install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_DEPLOY_NAME}
166 cd ${DEPLOY_DIR_IMAGE} 166 cd ${DEPLOY_DIR_IMAGE}
167 rm -f ${KERNEL_SYMLINK_NAME} 167 ln -sf ${KERNEL_DEPLOY_NAME} ${KERNEL_SYMLINK_NAME}
168 ln -s ${KERNEL_DEPLOY_NAME} ${KERNEL_SYMLINK_NAME}
169 tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_VERSION}-${MACHINE}.tgz -C ${D} lib 168 tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_VERSION}-${MACHINE}.tgz -C ${D} lib
170} 169}
171 170