main/postmarketos-mkinitfs-hook-*: use pbsplash (MR 2878)
This commit is contained in:
parent
e97b61b023
commit
f54600e966
4 changed files with 7 additions and 7 deletions
|
@ -7,7 +7,7 @@ TELNET_PORT=23
|
||||||
setup_usb_network
|
setup_usb_network
|
||||||
start_unudhcpd
|
start_unudhcpd
|
||||||
|
|
||||||
show_splash /splash-debug-shell.ppm.gz
|
show_splash "WARNING: debug-shell is active\\nhttps://postmarketos.org/debug-shell"
|
||||||
|
|
||||||
echo "Create 'pmos_continue_boot' script"
|
echo "Create 'pmos_continue_boot' script"
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
pkgname=postmarketos-mkinitfs-hook-debug-shell
|
pkgname=postmarketos-mkinitfs-hook-debug-shell
|
||||||
pkgver=0.4
|
pkgver=0.4.1
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Root shell in the initramfs (security hole, for debugging only)"
|
pkgdesc="Root shell in the initramfs (security hole, for debugging only)"
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
|
@ -18,6 +18,6 @@ package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
4e464411612933d0639e3ee58e1f05b554ba14983e0596e7220dab16ed9737776646d520b2267e23f1f6822b870e20e8ae9f61b95c4fa8513c579f21da8af9d8 20-debug-shell.sh
|
c84963c0c38b5d0633f7e7be3b36cfb5f5906509ddbd91b5dcb041a9ac82dc222811b8442ec9da01a9fc475a8e45eb931cf087845469e71d069d3b3525206423 20-debug-shell.sh
|
||||||
ca37f761c23c7fe7a351a13f535531580e740a14bb627cd65963287200a616d41c76185bed6aff3abeafe6b0ca9c61f15ee9343f1492dfdba0fe3b6d38e1d3e4 20-debug-shell.files
|
ca37f761c23c7fe7a351a13f535531580e740a14bb627cd65963287200a616d41c76185bed6aff3abeafe6b0ca9c61f15ee9343f1492dfdba0fe3b6d38e1d3e4 20-debug-shell.files
|
||||||
"
|
"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Maintainer: Mark <clashclanacc2602@gmail.com>
|
# Maintainer: Mark <clashclanacc2602@gmail.com>
|
||||||
pkgname=postmarketos-mkinitfs-hook-netboot
|
pkgname=postmarketos-mkinitfs-hook-netboot
|
||||||
pkgver=2
|
pkgver=3
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Netboot postmarketOS using nbd feature"
|
pkgdesc="Netboot postmarketOS using nbd feature"
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
|
@ -21,6 +21,6 @@ package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
5c70572944bce9abd4196b4fc8c2df9f90ec7e15d2ff8fce691120ee10f120521fa57f1d2c0edd1d489e113a2b16862d9e02b716e83e6d3251d7525a5152f349 netboot.sh
|
c4cbed2148a229df5901feb04633c7b6702a6cd2f519bc92f513923689bf5065f68c2ff86dcc143c5ae425ddd5e439d646d6a673bb98cdc74b8b43f70b966702 netboot.sh
|
||||||
3c9c812a6cd25640e6cf4d722cff6c6356d5666ec6009b4c65f89e62211cc406d2cd09e0fdda6b1c1906ee32c3854988ab701cee8811208e3ef666f09e638568 netboot.modules
|
3c9c812a6cd25640e6cf4d722cff6c6356d5666ec6009b4c65f89e62211cc406d2cd09e0fdda6b1c1906ee32c3854988ab701cee8811208e3ef666f09e638568 netboot.modules
|
||||||
"
|
"
|
||||||
|
|
|
@ -9,7 +9,7 @@ NBD_BLOCK_SIZE=${deviceinfo_rootfs_image_sector_size:-512}
|
||||||
setup_usb_network
|
setup_usb_network
|
||||||
start_unudhcpd
|
start_unudhcpd
|
||||||
|
|
||||||
show_splash /splash-netboot-waiting.ppm.gz
|
show_splash "Waiting for netboot...\\nhttps://postmarketos.org/netboot"
|
||||||
|
|
||||||
# Attempt to load the kernel module if CONFIG_BLK_DEV_NBD=m
|
# Attempt to load the kernel module if CONFIG_BLK_DEV_NBD=m
|
||||||
modprobe nbd
|
modprobe nbd
|
||||||
|
@ -17,7 +17,7 @@ modprobe nbd
|
||||||
# Check that we actually have nbd0 available, otherwise show an error screen.
|
# Check that we actually have nbd0 available, otherwise show an error screen.
|
||||||
if [ ! -b /dev/nbd0 ]; then
|
if [ ! -b /dev/nbd0 ]; then
|
||||||
echo "Failed to get /dev/nbd0, stopping."
|
echo "Failed to get /dev/nbd0, stopping."
|
||||||
show_splash /splash-netboot-error.ppm.gz
|
show_splash "ERROR: Failed to initialise netboot\\nhttps://postmarketos.org/netboot"
|
||||||
pmos_loop_forever
|
pmos_loop_forever
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue