main/postmarketos-mkinitfs-hook-netboot: use source_deviceinfo (MR 4037)

This commit is contained in:
Pablo Correa Gómez 2023-04-24 22:56:41 +02:00
parent e192346cb4
commit 3c3ef48600
No known key found for this signature in database
GPG key ID: 7A342565FF635F79
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# Maintainer: Mark <clashclanacc2602@gmail.com>
pkgname=postmarketos-mkinitfs-hook-netboot
pkgver=3
pkgrel=1
pkgver=4
pkgrel=0
pkgdesc="Netboot postmarketOS using nbd feature"
url="https://postmarketos.org"
depends="postmarketos-mkinitfs"
@ -21,6 +21,6 @@ package() {
}
sha512sums="
c4cbed2148a229df5901feb04633c7b6702a6cd2f519bc92f513923689bf5065f68c2ff86dcc143c5ae425ddd5e439d646d6a673bb98cdc74b8b43f70b966702 netboot.sh
3f45ab2f59069224d4dea287dd0dadf5eb9813f7ad6b02aa561344589abf445d746ddf9b171bc9dae2dae18d268ed5c341387185cfa91b5caf4f5db37215bc10 netboot.sh
3c9c812a6cd25640e6cf4d722cff6c6356d5666ec6009b4c65f89e62211cc406d2cd09e0fdda6b1c1906ee32c3854988ab701cee8811208e3ef666f09e638568 netboot.modules
"

View file

@ -1,7 +1,7 @@
#!/bin/sh
# shellcheck disable=SC1091
. /etc/deviceinfo
. ./init_functions.sh
source_deviceinfo
NBD_PORT=9999
NBD_IP=172.16.42.2
NBD_BLOCK_SIZE=${deviceinfo_rootfs_image_sector_size:-512}