projects
/
scm
/
bb
/
tizen-distro.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
708b0c1
)
rootfs_deb.bbclass: Add sanity check
author
Richard Purdie
<richard@openedhand.com>
Fri, 1 Dec 2006 09:29:06 +0000
(09:29 +0000)
committer
Richard Purdie
<richard@openedhand.com>
Fri, 1 Dec 2006 09:29:06 +0000
(09:29 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@991
311d38ba
-8fff-0310-9ca6-
ca027cbcb966
meta/classes/rootfs_deb.bbclass
patch
|
blob
|
history
diff --git
a/meta/classes/rootfs_deb.bbclass
b/meta/classes/rootfs_deb.bbclass
index
461b8bc
..
533eaab
100644
(file)
--- a/
meta/classes/rootfs_deb.bbclass
+++ b/
meta/classes/rootfs_deb.bbclass
@@
-102,7
+102,9
@@
fakeroot rootfs_deb_do_rootfs () {
# Hacks to make dpkg/ipkg coexist for now
mv ${IMAGE_ROOTFS}/var/dpkg ${IMAGE_ROOTFS}/usr/
- rmdir ${IMAGE_ROOTFS}/usr/dpkg/alternatives
+ if [ -e ${IMAGE_ROOTFS}/usr/dpkg/alternatives ]; then
+ rmdir ${IMAGE_ROOTFS}/usr/dpkg/alternatives
+ fi
ln -s /usr/lib/ipkg/alternatives ${IMAGE_ROOTFS}/usr/dpkg/alternatives
ln -s /usr/dpkg/info ${IMAGE_ROOTFS}/usr/lib/ipkg/info
ln -s /usr/dpkg/status ${IMAGE_ROOTFS}/usr/lib/ipkg/status