Compare commits
2 Commits
openwrt-23
...
openwrt-21
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4cdb130d62 | ||
|
|
2d4d07d2a1 |
2
build.sh
2
build.sh
@@ -12,7 +12,7 @@ BUILD=`readlink -f $BUILD`
|
||||
###
|
||||
### chose a release
|
||||
###
|
||||
RELEASE="21.02.0"
|
||||
RELEASE="21.02.7"
|
||||
|
||||
IMGBUILDER_NAME="openwrt-imagebuilder-${RELEASE}-${TARGET_ARCHITECTURE}-${TARGET_VARIANT}.Linux-x86_64"
|
||||
IMGBUILDER_DIR="${BUILD}/${IMGBUILDER_NAME}"
|
||||
|
||||
@@ -34,7 +34,7 @@ hasBigEnoughPendrive()
|
||||
setupPendrivePartitions()
|
||||
{
|
||||
# erase partition table
|
||||
dd if=/dev/zero of=/dev/sda bs=1M count=1
|
||||
dd if=/dev/zero of=/dev/sda bs=1k count=256
|
||||
|
||||
# sda1 is 'swap'
|
||||
# sda2 is 'root'
|
||||
|
||||
Reference in New Issue
Block a user