Per the APKBUILD reference, , package *-install scripts should be checksummed to guard against incomplete/corrupt downloads. The postmarketos-base package is one example where this is not being implemented currently.
This commit is contained in:
parent
88c753e5ae
commit
ea6d952978
2 changed files with 7 additions and 5 deletions
|
@ -10,11 +10,12 @@ tmux htop nano postmarketos-mkinitfs eudev sudo"
|
|||
makedepends=""
|
||||
install="$pkgname.post-install"
|
||||
subpackages=""
|
||||
source="sudoers"
|
||||
source="sudoers $install"
|
||||
options="!check"
|
||||
|
||||
package() {
|
||||
install -D -m644 "$srcdir"/sudoers \
|
||||
"$pkgdir"/etc/sudoers.d/postmarketos
|
||||
}
|
||||
sha512sums="c6de3b44bc45b9f9c641a7e34c69a481ee39b99ac0251cd28f2b3aae49c1a8d1ca448f4936b7942b1a8b8f7c18a5415c938098765ed8cf08456543800160e64b sudoers"
|
||||
sha512sums="c6de3b44bc45b9f9c641a7e34c69a481ee39b99ac0251cd28f2b3aae49c1a8d1ca448f4936b7942b1a8b8f7c18a5415c938098765ed8cf08456543800160e64b sudoers
|
||||
809f9e0720e206fc4164aad6140cb1364b0dd05aedfeb3a51fe7ee3a0906b37926449972e13a619406437d1d2a3dc872496ba4a20a3de036290b3b62c9a53272 postmarketos-base.post-install"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=postmarketos-ui-weston
|
||||
pkgver=1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Meta package for weston"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -11,11 +11,12 @@ depends="weston-clients weston weston-shell-desktop weston-backend-fbdev
|
|||
makedepends=""
|
||||
install="$pkgname.post-install"
|
||||
subpackages=""
|
||||
source="start_weston.sh"
|
||||
source="start_weston.sh $install"
|
||||
options="!check"
|
||||
|
||||
package() {
|
||||
install -D -m644 "$srcdir"/start_weston.sh \
|
||||
"$pkgdir"/etc/profile.d/start_weston.sh || return 1
|
||||
}
|
||||
sha512sums="c58547a8e3f184f97aabb746b6b2d4e84292809d00c2fbd16e4051f142246798cdf26a7a5861d632afaf2c103d47045aa3ba7b740157c2f0f9c2a404716252b0 start_weston.sh"
|
||||
sha512sums="c58547a8e3f184f97aabb746b6b2d4e84292809d00c2fbd16e4051f142246798cdf26a7a5861d632afaf2c103d47045aa3ba7b740157c2f0f9c2a404716252b0 start_weston.sh
|
||||
430854b0591089f266d02c00986052f0ecf2e4b67e4e55fef7d7f7eff1bbdaa2322349f2f869492c6b571509b65360b3d4c8cf95f333269d829370a81fccd0f4 postmarketos-ui-weston.post-install"
|
||||
|
|
Loading…
Reference in a new issue