* Fix #145: add deviceinfo_flash_offset_base again * Add default OFFSET_BASE value in flasher if deviceinfo_flash_offset_base variable is not set ...and set correct default base value in create_bootimg function
This commit is contained in:
parent
ba528b24b8
commit
cdcc3d81a6
2 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
pkgname=postmarketos-mkinitfs
|
||||
pkgver=0.1.6
|
||||
pkgver=0.1.7
|
||||
pkgrel=0
|
||||
pkgdesc="Tool to generate initramfs images for postmarketOS"
|
||||
url="https://github.com/postmarketOS"
|
||||
|
@ -29,7 +29,7 @@ package() {
|
|||
}
|
||||
sha512sums="22418d8869448b456a775f03b18d7b4e13f3cac1129233ced42caf67c3aea4abcc6488fcba2acb5e20dd72f2a6da6419938ac44751a5ba175f02eab586573c43 init.sh.in
|
||||
6d130be59507ad6c755ce8dfe345335e54b3891ca484e7865246ce69fe9d4e6441247acf6d17cc2ff414aaa0aca13fc28c8956b90f1626b784429adc3b5bf866 init_functions.sh
|
||||
3026c45c14ae6d83e28e322c46b151e962493587d7ea9bdf3acfbf6c859d405800b0e3fcf2b509f06f26d5af625951a1bedff1ed7fda0eeaddcb46dc2d39dc13 mkinitfs.sh
|
||||
ba56182262803fa18c85bdd5b80d7c61f098e528dfda17a8876db267770bb9aee7308d48f921ba60e14fbd95d18daa66781738a925f2515dca123d1e74b051d7 mkinitfs.sh
|
||||
8129300894f0b91ba669c12df2e51fb8dd9a9366da26496523047782026714444f40037b88d3e56dc28e3049901c32bf2a4959390883dfbbff8cfa19bb82045f 10-usb-unlock.sh
|
||||
35a8eabad947347afec7e3f5860d31ab9e3534972c0960ccf553c7e1cc9262316bfdddb8d61d3588db1ee2261077597617806080b9956798b3e5088d6f9b596b splash1.ppm.gz
|
||||
bf11d8b3a50db984cfbb2cafe6687de327242c1f6f56c6fdd02ca579b05213f9c886aa1c0527530fdec21b16e65e68962e40a600c4ce155819df2f610b435087 splash2.ppm.gz"
|
||||
|
|
|
@ -147,9 +147,12 @@ create_bootimg()
|
|||
{
|
||||
[ "${deviceinfo_generate_bootimg}" == "true" ] || return
|
||||
echo "==> initramfs: creating boot.img"
|
||||
_base="${deviceinfo_flash_offset_base}"
|
||||
[ -z "$_base" ] && _base="0x10000000"
|
||||
mkbootimg \
|
||||
--kernel "${outfile/initramfs-/vmlinuz-}" \
|
||||
--ramdisk "$outfile" \
|
||||
--base "${_base}" \
|
||||
--second_offset "${deviceinfo_flash_offset_second}" \
|
||||
--cmdline "${deviceinfo_kernel_cmdline}" \
|
||||
--kernel_offset "${deviceinfo_flash_offset_kernel}" \
|
||||
|
|
Loading…
Reference in a new issue