update .gitignore for osx, fix image size, set en_US locale
This commit is contained in:
parent
925df11463
commit
d8da3751a5
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,3 +5,4 @@ SKIP_IMAGES
|
|||
.pc
|
||||
*-pc
|
||||
apt-cacher-ng/
|
||||
.DS_Store
|
||||
|
|
|
@ -16,6 +16,9 @@ ROUND_SIZE="$((4 * 1024 * 1024))"
|
|||
ROUNDED_ROOT_SECTOR=$(((2 * BOOT_SIZE + ROUND_SIZE) / ROUND_SIZE * ROUND_SIZE / 512 + 8192))
|
||||
IMG_SIZE=$(((BOOT_SIZE + TOTAL_SIZE + (800 * 1024 * 1024) + ROUND_SIZE - 1) / ROUND_SIZE * ROUND_SIZE))
|
||||
|
||||
# i am not sure why without this it does not create a large enough root
|
||||
IMG_SIZE=$(( $IMG_SIZE * 4 ))
|
||||
|
||||
truncate -s "${IMG_SIZE}" "${IMG_FILE}"
|
||||
fdisk -H 255 -S 63 "${IMG_FILE}" <<EOF
|
||||
o
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user