This commit is contained in:
parent
b318eb9bc8
commit
b7388a20d6
2
Makefile
2
Makefile
@ -8,10 +8,8 @@ install:
|
||||
ronn docs/manpage.md
|
||||
mkdir "$(DESTDIR)/etc/"
|
||||
touch "$(DESTDIR)/etc/booster.yaml"
|
||||
touch "$(DESTDIR)/etc/booster-nvidia.yaml"
|
||||
install -Dp -m755 ./generator/generator "$(DESTDIR)/usr/bin/booster"
|
||||
install -Dp -m644 ./docs/manpage.1 "$(DESTDIR)/usr/share/man/man1/booster.1"
|
||||
install -Dp -m755 ./init/init "$(DESTDIR)/usr/lib/booster/init"
|
||||
install -Dp -m755 ./update-initramfs "$(DESTDIR)/usr/lib/booster/update-initramfs"
|
||||
install -Dp -m755 ./booster.yml "$(DESTDIR)/etc/booster.yaml"
|
||||
install -Dp -m755 ./booster-nvidia.yml "$(DESTDIR)/etc/booster-nvidia.yaml"
|
||||
|
@ -1,4 +0,0 @@
|
||||
vconsole: true
|
||||
extra_files: busybox
|
||||
enable_lvm: true
|
||||
modules_force_load: nvidia,usbhid
|
2
debian/booster.install
vendored
Normal file
2
debian/booster.install
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
etc
|
||||
usr
|
2
debian/postinst → debian/booster.postinst
vendored
2
debian/postinst → debian/booster.postinst
vendored
@ -28,7 +28,7 @@ fi
|
||||
# Add nvidia support if an nvidia card is detected
|
||||
if lspci -k | grep -iEA3 '^[[:alnum:]]{2}:[[:alnum:]]{2}.*VGA|3D|DISPLAY' | grep -i nvidia && lspci -k | grep -iEA3 '^[[:alnum:]]{2}:[[:alnum:]]{2}.*VGA|3D|DISPLAY' | grep -i -E 'kernel modules|kernel driver' | grep -i nvidia
|
||||
then
|
||||
cp -f /etc/booster-nvidia.yaml /etc/booster.yaml
|
||||
sed -i "s#root=#rd.modules_force_load=nvidia,usbhid root=#" /boot/refind_linux.conf
|
||||
fi
|
||||
|
||||
cp -f /usr/lib/booster/update-initramfs /usr/sbin/update-initramfs
|
0
debian/preinst → debian/booster.preinst
vendored
0
debian/preinst → debian/booster.preinst
vendored
5
debian/booster.prerm
vendored
Normal file
5
debian/booster.prerm
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
cp -f /usr/sbin/update-initramfs-legacy /usr/sbin/update-initramfs
|
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -1,4 +1,4 @@
|
||||
booster (0.11.0-99pika21) lunar; urgency=medium
|
||||
booster (0.11.0-99pika22) lunar; urgency=medium
|
||||
|
||||
* Do the config properly
|
||||
|
||||
|
7
debian/control
vendored
7
debian/control
vendored
@ -10,5 +10,10 @@ Rules-Requires-Root: no
|
||||
Package: booster
|
||||
Architecture: linux-any
|
||||
Depends: ${misc:Depends}, libdevmapper-dev, libdevmapper-event1.02.1, libdevmapper1.02.1, busybox
|
||||
Provides: booster
|
||||
Description: booster initramfs generation
|
||||
|
||||
Package: booster-placeholder
|
||||
Architecture: linux-any
|
||||
Depends: ${misc:Depends}, libdevmapper-dev, libdevmapper-event1.02.1, libdevmapper1.02.1, busybox
|
||||
Provides: booster (= ${binary:Version})
|
||||
Description: PLACEHOLDER FOR ISO BUILDS DO NOT USE.
|
||||
|
Loading…
Reference in New Issue
Block a user