CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
devtools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
60d9f81
)
Replaced scp commands by wget which would be better for non account users who want...
author
Jose V Beneyto
<sepen@crux.nu>
Wed, 6 Jun 2012 10:15:34 +0000
(12:15 +0200)
committer
Jose V Beneyto
<sepen@crux.nu>
Wed, 6 Jun 2012 10:15:34 +0000
(12:15 +0200)
makeDeviceInstaller.sh
patch
|
blob
|
blame
|
history
diff --git
a/makeDeviceInstaller.sh
b/makeDeviceInstaller.sh
index 0fd447308ece45d0328483f309156c81807ed8ca..34a6e3abf26caf08bf70b7c47d6e78b9dbd10dc6 100755
(executable)
--- a/
makeDeviceInstaller.sh
+++ b/
makeDeviceInstaller.sh
@@
-8,7
+8,6
@@
VERSION="2.7.1-rc1"
DEVICE="efikamx"
KERNEL_VERSION_STRING="2.6.31.14.27-efikamx_20111026"
DESTDIR="crux-arm-$VERSION-$DEVICE"
DEVICE="efikamx"
KERNEL_VERSION_STRING="2.6.31.14.27-efikamx_20111026"
DESTDIR="crux-arm-$VERSION-$DEVICE"
-COLLECTIONS="core"
[ -d $DESTDIR ] && rm -r $DESTDIR
mkdir -p $DESTDIR
[ -d $DESTDIR ] && rm -r $DESTDIR
mkdir -p $DESTDIR
@@
-25,10
+24,10
@@
wget -c -P $DESTDIR/crux/kernel http://crux-arm.nu/files/devices/$DEVICE/modules
wget -c -P $DESTDIR/crux/kernel http://crux-arm.nu/files/devices/$DEVICE/linux-$KERNEL_VERSION_STRING.config
# download released packages
wget -c -P $DESTDIR/crux/kernel http://crux-arm.nu/files/devices/$DEVICE/linux-$KERNEL_VERSION_STRING.config
# download released packages
-# TODO: use local packages
-for COL in ${COLLECTIONS[@]}; do
- mkdir -p $DESTDIR/crux/$COL
- scp crux-arm.nu:/home/crux-arm/public_html/pkg/${VERSION%%-*}/$COL/* $DESTDIR/crux/$COL
+mkdir -p $DESTDIR/crux/core
+PACKAGES="$(curl -s http://crux-arm.nu/pkg/${VERSION%%-*}/core/ | grep '.pkg.tar.' | cut -d'=' -f4 | cut -d'"' -f2)"
+for pkg in ${PACKAGES[@]}; do
+ wget -c -P $DESTDIR/crux/core "http://crux-arm.nu/pkg/${VERSION%%-*}/core/$pkg"
done
# this stuff is important in order to get the setup working fine
done
# this stuff is important in order to get the setup working fine