Déplacement de l'instruction du background grub.

Ajout de la liste blorand et de sa cleg gpg à apt pour les maj.
Ajout de la CA locale.
This commit is contained in:
root
2025-08-24 22:04:06 +02:00
parent bcd8aecbf1
commit be1a1a1cf5
7 changed files with 65 additions and 6 deletions

19
debian/changelog vendored
View File

@@ -1,3 +1,22 @@
blorand (1.2.2) stable; urgency=medium
* Add Keyrings en list file for future update
-- Benoit LORAND <benoit.lorand@blorand.org> Fri, 22 Aug 2025 16:31:23 +0200
blorand (1.2.1) stable; urgency=medium
* ADD BLORAND CA root certificate declaration
-- Benoit LORAND <benoit.lorand@blorand.org> Fri, 22 Aug 2025 15:32:34 +0200
blorand (1.2) UNRELEASED; urgency=medium
* Déclaration de l'image de background dans /etc/default/grub.d/blorand.cfg
* De la sorte, l'image le saute pas lors des mises à jour de grub
-- Benoit LORAND <benoit.lorand@blorand.org> Fri, 22 Aug 2025 15:11:47 +0200
blorand (1.1) stable; urgency=medium
* Correction de typo qui gêne l'installation du package lors de la phase

7
debian/control vendored
View File

@@ -1,5 +1,5 @@
Source: blorand
Maintainer: Benoit LORAND <benoit.lorand@blorand.fr>
Maintainer: Benoit LORAND <benoit.lorand@blorand.org>
Section: misc
Priority: optional
Standards-Version: 3.9.2
@@ -17,15 +17,14 @@ Depends: ${shlibs:Depends},
tmux,
iftop,
tcpdump,
net-tools
net-tools,
ca-certificates
Suggests: blorand-plymouth-theme,
clamav,
clamav-daemon,
snmpd,
failban,
autossh
Conflicts: provectio
Replaces: provectio
Section: Personnalisation_BLORAND
Priority: optional
Description: Personnalisation du système Debian

6
debian/postinst vendored
View File

@@ -5,13 +5,15 @@ set -e
case "$1" in
configure)
if [ -e /usr/sbin/grub-mkconfig ] ; then
GRUBDEFAULT="/etc/default/grub"
GRUBDEFAULT="/etc/default/grub.d/blorand.cfg"
if [ -e "$GRUBDEFAULT" ] ; then
if (grep '^GRUB_BACKGROUND' "$GRUBDEFAULT" > /dev/null 2>&1) ; then
sed -i 's@^GRUB_BACKGROUND.*$@GRUB_BACKGROUND="/usr/share/blorand/blorand.png"@g' "$GRUBDEFAULT"
else
echo 'GRUB_BACKGROUND="/usr/share/blorand/blorand.png"' >> "$GRUBDEFAULT"
fi
else
echo 'GRUB_BACKGROUND="/usr/share/blorand/blorand.png"' >> "$GRUBDEFAULT"
fi
/usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg
fi
@@ -22,7 +24,9 @@ configure)
fi
done
install -Dvm 0644 /usr/share/blorand/BLORAND-CA_Root.crt /usr/local/share/ca-certificates/extra/BLORAND-CA_Root.crt
install -Dvm 0755 /usr/share/blorand/blorand.profile /etc/profile.d/blorand.sh
/usr/sbin/update-ca-certificates
;;

4
debian/rules vendored
View File

@@ -6,4 +6,6 @@ override_dh_auto_install:
install -D -m 0644 blorand.png $$(pwd)/debian/blorand/usr/share/blorand/blorand.png
install -D -m 0644 blorand.profile $$(pwd)/debian/blorand/usr/share/blorand/blorand.profile
install -D -m 0644 vimrc.blorand $$(pwd)/debian/blorand/usr/share/blorand/vimrc.blorand
install -D -m 0644 BLORAND-CA_Root.crt $$(pwd)/debian/blorand/usr/share/blorand/BLORAND-CA_Root.crt
install -D -m 0644 BLORAND.gpg $$(pwd)/debian/blorand/etc/apt/keyrings/blorand.gpg
install -D -m 0644 BLORAND.list $$(pwd)/debian/blorand/etc/apt/sources.list.d/blorand.list