This website requires JavaScript.
Explore
Help
Sign In
forge
/
pmaports
Watch
1
Star
0
Fork
You've already forked pmaports
0
Code
Issues
2
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
5b6c490134
pmaports
/
main
/
postmarketos-mkinitfs
/
postmarketos-mkinitfs.trigger
6 lines
54 B
Text
Raw
Normal View
History
Unescape
Escape
mkinitfs: Fail on missing depends / better usability in general (#1133) * Fail if mkbootimg/uboot-tools are not installed, but creating a boot.img file / u-boot legacy image was requested via deviceinfo (fixes #312) * Fail if /boot/dt.img is missing, but we have a qcdt device * Fail if the dtb file specified in deviceinfo does not exist * Fail if mkbootimg etc. exit with error code * Don't try to add the ext4 module into the initramfs. We always compile it into the kernel. Instead, kconfig_check makes sure it is enabled now. (fixes #1037) * Add a note that modprobe warnings can be ignored mostly
2018-01-31 19:39:09 +00:00
#!/bin/sh -e
Put postmarketOS aports inside pmbootstrap repo Later, the aports folder will probably get split up in its own repository. But right now this is simply convenient.
2017-05-26 20:26:25 +00:00
main/postmarketos-mkinitfs: use new mkinitfs (MR 2426) This replaces the mkinitfs script with a re-write (in Go). The re-written mkinitfs will atomically replace the initfs in /boot, check for free space before doing so, and try to do whatever it can to not leave the system in an unbootable state by botching the initfs creation/installation. pmb:cross-native with go cross compiling doesn't work exactly, it makes the correct binary, but on Alpine go uses -buildmode=pie which creates a dynamic thing, and the interpreter is wrong (e.g. it it set to use the host arch's interpreter, like /lib/ld-musl-x86_64 even though GOARCH=arm64) The init.sh script is no longer a template, "initramfs-extra" is used. Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/1019 fixes https://gitlab.com/postmarketOS/pmaports/-/issues/660
2021-08-17 07:03:01 +00:00
/sbin/postmarketos-mkinitfs
Put postmarketOS aports inside pmbootstrap repo Later, the aports folder will probably get split up in its own repository. But right now this is simply convenient.
2017-05-26 20:26:25 +00:00
sync
exit 0
Reference in a new issue
Copy permalink