kobo-epdc-extractor: support new mkintifs paths (MR 3895)
This commit is contained in:
parent
f3dfe67a4d
commit
ac6bfcee86
2 changed files with 6 additions and 7 deletions
|
@ -1,11 +1,11 @@
|
|||
# Maintainer: Andreas Kemnade <andreas@kemnade.info>
|
||||
pkgname=kobo-epdc-extractor
|
||||
pkgver=1.0
|
||||
pkgrel=1
|
||||
pkgdesc="Extractor for waveform on the kobo devices"
|
||||
arch="armv7"
|
||||
license="MIT"
|
||||
url="https://postmarketos.org"
|
||||
pkgrel=0
|
||||
install="$pkgname.post-install"
|
||||
source="
|
||||
kobo-firmware-extractor-1.0.tar.gz::https://github.com/akemnade/kobo-firmware-extractor/archive/refs/tags/1.0.tar.gz
|
||||
|
@ -24,14 +24,13 @@ package() {
|
|||
touch kobo-epdc-extractor
|
||||
# we need it in case we want to do use a graphical display unlock
|
||||
install -Dm644 kobo-epdc-extractor -t \
|
||||
"$pkgdir"/usr/share/postmarketos-mkinitfs-triggers
|
||||
"$pkgdir"/usr/share/mkinitfs-triggers
|
||||
|
||||
mkdir -p "$pkgdir"/etc/postmarketos-mkinitfs/hooks/
|
||||
install -Dm644 "$srcdir"/start-epd.sh \
|
||||
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/80-start-epd.sh
|
||||
"$pkgdir"/usr/share/mkinitfs/hooks/80-start-epd.sh
|
||||
|
||||
install -Dm644 "$srcdir"/kobo-epdc-extractor.files \
|
||||
"$pkgdir"/etc/postmarketos-mkinitfs/files/01-kobo-epdc-extractor.files
|
||||
"$pkgdir"/usr/share/mkinitfs/files/01-kobo-epdc-extractor.files
|
||||
install -Dm755 "$srcdir"/extract-waveform.initd "$pkgdir"/etc/init.d/extract-waveform
|
||||
}
|
||||
|
||||
|
@ -39,5 +38,5 @@ sha512sums="
|
|||
2e44387b1275902f296ce77efd18b4759487891b28cb6b88477f44cd21ac6bc81b23c8d3016f81fe926bf87750b588d621fc1c36ca477dce42d3150f0b010953 kobo-firmware-extractor-1.0.tar.gz
|
||||
d008a75fb6ae229e1257af517e741717611cb2bc9cd11ab736f9e066493986cf4a6199854deaf90a1e8c91cbc02e7f79b2cf67ccd92ba110290d4af0b5c5f8ef start-epd.sh
|
||||
c71bf714bd05f9c4c2724fc855b90f5a7fa4c1014ff41f16a07a91e791ada67fede5b92536e22ef3634724a881492fa4151b1fb8060561e1bea2a2f960ba794e kobo-epdc-extractor.files
|
||||
13712f9aa84ba06e27f38488f5062565dad06a4edd207daabc7450b57a62779216ea49c9987bb7b2a02e69d01ae354e8ca7c42ec2d19ee24f177cff5a36569a5 extract-waveform.initd
|
||||
380a131085f50c1a5a80504368c943f3a9372c21ef9dc7fab74eccfc03795652f65a5f4dcf436930f316ba03ad13472e9bc4bfc045f5f0acdb1b94cb0bb5d687 extract-waveform.initd
|
||||
"
|
||||
|
|
|
@ -12,7 +12,7 @@ start()
|
|||
rm -f /etc/runlevels/*/$RC_SVCNAME
|
||||
|
||||
extract-waveform.sh &&
|
||||
ls /lib/firmware/imx/epdc/* >>/etc/postmarketos-mkinitfs/files/01-kobo-epdc-extractor.files &&
|
||||
ls /lib/firmware/imx/epdc/* >>/usr/share/mkinitfs/files/01-kobo-epdc-extractor.files &&
|
||||
mkinitfs
|
||||
eend $?
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue