Squashed commit of the following:
commitd542f8ea79
Author: Jeff Carr <jcarr@wit.com> Date: Thu Oct 6 08:59:15 2022 -0500 DEBIAN: add git what-changed to package commit18cf4f13b4
Author: Jeff Carr <jcarr@wit.com> Date: Thu Oct 6 08:52:57 2022 -0500 DEBIAN: move to .debian/ commitf9772fd8a9
Author: Jeff Carr <jcarr@wit.com> Date: Thu Oct 6 08:07:38 2022 -0500 DEBIAN: more stuff commite86e00082e
Author: Jeff Carr <jcarr@wit.com> Date: Thu Oct 6 08:04:07 2022 -0500 DEBIAN: make md5sum file commit80910570c8
Author: Jeff Carr <jcarr@wit.com> Date: Thu Oct 6 07:56:04 2022 -0500 DEBIAN: packaging fix 3 commit32b5a3cd7e
Author: Jeff Carr <jcarr@wit.com> Date: Thu Oct 6 07:54:01 2022 -0500 DEBIAN: update packaging v2 commite09d3031cd
Author: Jeff Carr <jcarr@wit.com> Date: Thu Oct 6 07:49:25 2022 -0500 DEBIAN: clean up packaging files commit10486559e2
Author: Jeff Carr <jcarr@wit.com> Date: Thu Oct 6 07:22:13 2022 -0500 DEBIAN: make a .deb
This commit is contained in:
parent
fdf1a65258
commit
efe2abffee
|
@ -0,0 +1,18 @@
|
|||
Package: linux-firmware
|
||||
Source: linux-firmware
|
||||
Version: 20221006-1
|
||||
Architecture: all
|
||||
Multi-Arch: foreign
|
||||
Maintainer: Jeff Carr <jcarr@wit.com>
|
||||
Installed-Size: 5883
|
||||
Depends: linux-base | systemd
|
||||
Recommends: initramfs-tools
|
||||
Replaces: firmware-linux-nonfree, firmware-amd-graphics
|
||||
Suggests: initramfs-tools
|
||||
Section: non-free/kernel
|
||||
Priority: optional
|
||||
Homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/
|
||||
Description: linux-firmware
|
||||
Raw package unchanged from the kernel maintainers
|
||||
.
|
||||
This packaging is a test and may not work
|
|
@ -0,0 +1,28 @@
|
|||
all: clean add-firmware-files md5sum create info
|
||||
|
||||
info:
|
||||
dpkg-deb --info linux-firmware.deb
|
||||
|
||||
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
|
||||
cp -a ../[a-zA-Z0123456789]* files/lib/firmware/
|
||||
|
||||
# debian stores the calcuated md5sum checksums for each file in the package
|
||||
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
|
|
@ -0,0 +1 @@
|
|||
2.0
|
Binary file not shown.
|
@ -0,0 +1,22 @@
|
|||
Copyright:
|
||||
|
||||
Copyright 2022 Jeff Carr <jcarr@wit.org>
|
||||
|
||||
License:
|
||||
|
||||
This package is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This package is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this package; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
On Debian systems, the complete text of the GNU General
|
||||
Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
|
|
@ -0,0 +1,5 @@
|
|||
.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