main/postmarketos-mkinitfs-hook-netboot: use source_deviceinfo from devicepkg-utils (MR 4129)

[ci:ignore-count]
This commit is contained in:
Newbyte 2023-05-30 08:57:23 +02:00
parent 0c043b055d
commit cb0e167a3c
No known key found for this signature in database
GPG key ID: 990600ED1DB95E02
2 changed files with 4 additions and 4 deletions

View file

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

View file

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