dos mbr sizes
This commit is contained in:
parent
daae74bc00
commit
0cd0716190
4
config
4
config
|
|
@ -40,8 +40,8 @@ section="main"
|
||||||
|
|
||||||
# core packages for the system
|
# core packages for the system
|
||||||
core_packages=(devuan-keyring debian-keyring)
|
core_packages=(devuan-keyring debian-keyring)
|
||||||
core_packages+=(git-core binutils ca-certificates curl)
|
core_packages+=(binutils ca-certificates curl)
|
||||||
core_packages+=(locales console-common less nano vim)
|
core_packages+=(console-common less nano vim)
|
||||||
|
|
||||||
# base packages for the system
|
# base packages for the system
|
||||||
base_packages=(bzip2 dialog apt-utils fakeroot e2fsprogs parted)
|
base_packages=(bzip2 dialog apt-utils fakeroot e2fsprogs parted)
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,9 @@ img_partition_dos() {
|
||||||
|
|
||||||
notice "Partitioning with dos"
|
notice "Partitioning with dos"
|
||||||
|
|
||||||
|
dos_boot_size=(ext2 0 64)
|
||||||
|
dos_root_size=(ext4 64 -1)
|
||||||
|
|
||||||
pushd ${workdir}
|
pushd ${workdir}
|
||||||
|
|
||||||
parted ${imgname} --script -- mklabel msdos
|
parted ${imgname} --script -- mklabel msdos
|
||||||
|
|
@ -88,6 +91,14 @@ img_partition_gpt() {
|
||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img_bootloader_prepare() {
|
||||||
|
fn img_bootloader_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
img_bootloader_install() {
|
||||||
|
fn img_bootloader_install
|
||||||
|
}
|
||||||
|
|
||||||
img_mount() {
|
img_mount() {
|
||||||
fn img_mount
|
fn img_mount
|
||||||
req=(bootpart rootpart workdir)
|
req=(bootpart rootpart workdir)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue