CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
pkgutils-cross.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22c894e
)
fixed db usage for pkgadd-cross
author
Jose V Beneyto
<sepen@crux.nu>
Mon, 8 Mar 2010 07:19:12 +0000
(08:19 +0100)
committer
Jose V Beneyto
<sepen@crux.nu>
Mon, 8 Mar 2010 07:19:21 +0000
(08:19 +0100)
pkgadd-cross
patch
|
blob
|
blame
|
history
diff --git
a/pkgadd-cross
b/pkgadd-cross
index 8ecac21927a0dbb003b7c823001650f6b551e8de..d780311818e27a9481724d7d495bd6c4f70a7dd9 100755
(executable)
--- a/
pkgadd-cross
+++ b/
pkgadd-cross
@@
-12,6
+12,11
@@
if [ -z "$CLFS" ]; then
exit 1
fi
+if [ ! -f $CLFS/var/lib/pkg/db ]; then
+ install -d -m 0755 $CLFS/var/lib/pkg
+ touch $CLFS/var/lib/pkg/db
+fi
+
$PKGADD -r $CLFS $@
# we shoudl avoid .la files when crosscompiling, these files