projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
brcm2708: platform.sh: fix tar directory directive
[openwrt/staging/wigyori.git]
/
target
/
linux
/
brcm2708
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/brcm2708/base-files/lib/upgrade/platform.sh
b/target/linux/brcm2708/base-files/lib/upgrade/platform.sh
index b9cd8d282fe2c521f9f64d98e06caabd6a30b4c2..f01df3b025d8262dbffa72824688795eeef17f6c 100644
(file)
--- a/
target/linux/brcm2708/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/brcm2708/base-files/lib/upgrade/platform.sh
@@
-97,7
+97,7
@@
platform_copy_config() {
mkdir -p /boot
[ -f /boot/kernel.img ] || mount -t vfat -o rw,noatime "/dev/$partdev" /boot
cp -af "$CONF_TAR" /boot/
- tar -
-directory
/ -xvf "$CONF_TAR" boot/config.txt
+ tar -
C
/ -xvf "$CONF_TAR" boot/config.txt
sync
unmount /boot
fi