mirror of https://github.com/parazyd/arm-sdk.git
add global extra_packages
This commit is contained in:
parent
9f056db536
commit
6842440a17
|
|
@ -1,2 +1,3 @@
|
|||
tmp
|
||||
PASSING
|
||||
rsyncsdk.sh
|
||||
|
|
|
|||
3
config
3
config
|
|
@ -40,3 +40,6 @@ export PATH="$R/gcc/armv7-devuan-linux-gnueabihf/bin:$PATH:/sbin"
|
|||
## static qemu arm binary
|
||||
qemu_bin="/usr/bin/qemu-arm-static" # Devuan
|
||||
#qemu_bin="/usr/bin/qemu-arm" # Gentoo
|
||||
|
||||
## extra_packages for all images
|
||||
extra_packages=(wpasupplicant rdate)
|
||||
|
|
|
|||
12
lib/helpers
12
lib/helpers
|
|
@ -104,6 +104,8 @@ copy-kernel-config() {
|
|||
|
||||
write-fstab() {
|
||||
fn write-fstab
|
||||
req=(strapdir)
|
||||
ckreq || return 1
|
||||
cat <<EOF | sudo tee ${strapdir}/etc/fstab ${TEEVERBOSE}
|
||||
## <file system> <mount point> <type> <options> <dump><pass>
|
||||
## proc
|
||||
|
|
@ -116,3 +118,13 @@ proc /proc proc nodev,noexec,nosuid 0 0
|
|||
/dev/mmcblk0p1 /boot vfat noauto 0 0
|
||||
EOF
|
||||
}
|
||||
|
||||
rdate-to-rclocal() {
|
||||
fn rdate-to-rclocal
|
||||
req=(strapdir)
|
||||
ckreq || return 1
|
||||
|
||||
notice "adding rdate to rc.local"
|
||||
sed -i -e "s/exit 0/rdate -s pool.ntp.org &/" $strapdir/etc/rc.local
|
||||
print "exit 0" | sudo tee -a $strapdir/etc/rc.local ${TEEVERBOSE}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue