DEBIAN: packaging fix 3

This commit is contained in:
Jeff Carr 2022-10-06 07:56:04 -05:00
parent 32b5a3cd7e
commit 80910570c8
2 changed files with 6 additions and 3 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
debian/files/lib/firmware/
debian/*.deb
debian/*.tar.xz

6
debian/Makefile vendored
View File

@ -1,6 +1,9 @@
info: info:
@echo 'make all # will generate a debian package of all the firmware files'
dpkg-deb --info linux-firmware.deb dpkg-deb --info linux-firmware.deb
all: clean add-firmware-files create
add-firmware-files: add-firmware-files:
mkdir -p files/lib/firmware mkdir -p files/lib/firmware
cp -a ../amdgpu files/lib/firmware/ cp -a ../amdgpu files/lib/firmware/
@ -15,8 +18,5 @@ create:
cd files && tar -cvJf ../data.tar.xz . cd files && tar -cvJf ../data.tar.xz .
ar rcs linux-firmware.deb debian-binary control.tar.xz data.tar.xz ar rcs linux-firmware.deb debian-binary control.tar.xz data.tar.xz
info:
dpkg-deb --info linux-firmware.deb
install: install:
dpkg --install linux-firmware.deb dpkg --install linux-firmware.deb