DEBIAN: add git what-changed to package
This commit is contained in:
parent
18cf4f13b4
commit
d542f8ea79
|
@ -7,6 +7,7 @@ clean:
|
|||
rm -rf linux-firmware.deb
|
||||
rm -rf control.tar.xz data.tar.xz linux-firmware.deb
|
||||
rm -rf files/lib/firmware
|
||||
rm -f files/usr/share/doc/linux-firmware/git-whatchanged
|
||||
|
||||
add-firmware-files:
|
||||
mkdir -p files/lib/firmware
|
||||
|
@ -17,9 +18,11 @@ md5sum:
|
|||
cd files/ && find -type f -exec md5sum '{}' \; >../DEBIAN/md5sums
|
||||
|
||||
create:
|
||||
git whatchanged > files/usr/share/doc/linux-firmware/git-whatchanged
|
||||
cd DEBIAN && tar --ignore-failed-read -cvJf ../control.tar.xz {post,pre}{inst,rm} md5sums control
|
||||
cd files && tar -cvJf ../data.tar.xz .
|
||||
ar rcs linux-firmware.deb debian-binary control.tar.xz data.tar.xz
|
||||
|
||||
install:
|
||||
dpkg --install linux-firmware.deb
|
||||
update-initramfs -k all -c
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
.debian/files/lib/firmware/
|
||||
.debian/*.deb
|
||||
.debian/*.tar.xz
|
||||
.debian/DEBIAN/md5sums
|
||||
.debian/files/lib/firmware/
|
||||
.debian/files/usr/share/doc/linux-firmware/git-whatchanged
|
||||
|
|
Loading…
Reference in New Issue