librem5/librem5dev: upgrade package (!1102)

This fixes a bug where the package does not install some files as
expected.

For the librem5 package, this also generates the modemmanager
subpackage, which was missed in testing/review earlier.
This commit is contained in:
Clayton Craft 2020-03-25 23:23:58 -07:00
parent f4f2dfa635
commit b020c93299
No known key found for this signature in database
GPG key ID: 11968C44928CAEFC
2 changed files with 8 additions and 7 deletions

View file

@ -3,7 +3,7 @@
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=device-purism-librem5
pkgdesc="Purism Librem 5 Phone"
pkgver=1.2
pkgver=1.3
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@ -36,6 +36,7 @@ subpackages="
$pkgname-plasma
$pkgname-phosh
$pkgname-pulseaudio
$pkgname-modemmanager
"
install="$pkgname.post-install"
@ -88,9 +89,9 @@ package() {
install -D -m644 "$srcdir"/modules-load.d_librem5.conf "$pkgdir"/etc/modules-load.d/librem5.conf
install -D -m644 "$srcdir"/00-mesa.sh "$pkgdir"/etc/profile.d/00-mesa.sh
install -D -m644 "$srcdir"/flash_script.lst "$pkgdir"/usr/share/uuu/flash_script.lst
install -D -m644 "$_confdir"/default/hwdb/80-librem5.hwdb "pkgdir"/lib/udev/hwdb.d/80-librem5.hwdb
install -D -m644 "$_confdir"/default/hwdb/80-librem5.hwdb "$pkgdir"/lib/udev/hwdb.d/80-librem5.hwdb
install -D -m644 "$_confdir"/debian/librem5-base-defaults.librem5-pm.udev \
"pkgdir"/usr/lib/udev/rules.d/librem5-base-defaults.librem5-pm.udev
"$pkgdir"/usr/lib/udev/rules.d/librem5-base-defaults.librem5-pm.udev
# 'install' dummy mass storage file for the g_multi module
mkdir -p "$pkgdir"/var/lib
dd if=/dev/zero of="$pkgdir"/var/lib/mass_storage_dummy bs=1024 count=1

View file

@ -3,7 +3,7 @@
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=device-purism-librem5dev
pkgdesc="Purism Librem 5 Devkit"
pkgver=1.1
pkgver=1.2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@ -72,11 +72,11 @@ package() {
install -D -m644 "$srcdir"/modprobe.d_rsi.conf "$pkgdir"/etc/modprobe.d/rsi.conf
install -D -m644 "$srcdir"/00-mesa.sh "$pkgdir"/etc/profile.d/00-mesa.sh
install -D -m644 "$srcdir"/flash_script.lst "$pkgdir"/usr/share/uuu/flash_script.lst
install -D -m644 "$_confdir"/default/hwdb/80-librem5.hwdb "pkgdir"/lib/udev/hwdb.d/80-librem5.hwdb
install -D -m644 "$_confdir"/default/hwdb/80-librem5.hwdb "$pkgdir"/lib/udev/hwdb.d/80-librem5.hwdb
install -D -m644 "$_confdir"/debian/librem5-base-defaults.librem5-devkit-sgtl5000.udev \
"pkgdir"/usr/lib/udev/rules.d/librem5-base-defaults.librem5-devkit-sgtl5000.udev
"$pkgdir"/usr/lib/udev/rules.d/librem5-base-defaults.librem5-devkit-sgtl5000.udev
install -D -m644 "$_confdir"/debian/librem5-base-defaults.librem5-pm.udev \
"pkgdir"/usr/lib/udev/rules.d/librem5-base-defaults.librem5-pm.udev
"$pkgdir"/usr/lib/udev/rules.d/librem5-base-defaults.librem5-pm.udev
devicepkg_package $startdir $pkgname
}