[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1033108: unblock: di-netboot-assistant/0.76



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: di-netboot-assistant@packages.debian.org, andi@debian.org
Control: affects -1 + src:di-netboot-assistant

Hi Release Team!

Please unblock package di-netboot-assistant

[ Reason ]
This upload fixes a few issues in examples and the documentation
provided by the package as well as the Salsa CI autopkgtest. 

[ Impact ]
Users will end up with examples that do not work with bookworm.

[ Tests ]
All changes have been tested by me in two unrelated environments.

[ Risks ]
Almost none.

[ Checklist ]
  [X] all changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in testing

[ Other info ]
Especially the changes in the example preseed file are due to the
bookworm release and surfaced recently.  Many thanks for all your work!

unblock di-netboot-assistant/0.76
diff -Nru di-netboot-assistant-0.75/config/ipxemenu.HEAD di-netboot-assistant-0.76/config/ipxemenu.HEAD
--- di-netboot-assistant-0.75/config/ipxemenu.HEAD	2022-12-21 20:49:44.000000000 +0100
+++ di-netboot-assistant-0.76/config/ipxemenu.HEAD	2023-03-16 17:05:12.000000000 +0100
@@ -30,7 +30,7 @@
 :customized
     kernel ${210:string}d-i/n-a/stable/amd64/linux initrd=initrd.gz \
       locale?=de_DE mirror/http/proxy?=http://192.168.122.1:3142/ \
-      pkgsel/include=etckeeper preseed/late_command="rm -fv /target/etc/ apt/apt.conf" ---
+      pkgsel/include=etckeeper preseed/late_command="rm -fv /target/etc/apt/apt.conf" ---
     initrd ${210:string}d-i/n-a/stable/amd64/initrd.gz
     boot
 
diff -Nru di-netboot-assistant-0.75/debian/changelog di-netboot-assistant-0.76/debian/changelog
--- di-netboot-assistant-0.75/debian/changelog	2022-12-21 20:49:44.000000000 +0100
+++ di-netboot-assistant-0.76/debian/changelog	2023-03-16 17:05:12.000000000 +0100
@@ -1,3 +1,11 @@
+di-netboot-assistant (0.76) unstable; urgency=medium
+
+  * Fix typo in preseeding example.
+  * Fix salsa CI package version check.
+  * Update preseeding example for bookworm.
+
+ -- Andreas B. Mundt <andi@debian.org>  Thu, 16 Mar 2023 17:05:12 +0100
+
 di-netboot-assistant (0.75) unstable; urgency=medium
 
   * Bump Standards-Version to 4.6.2 (no changes needed).
diff -Nru di-netboot-assistant-0.75/debian/tests/std-run di-netboot-assistant-0.76/debian/tests/std-run
--- di-netboot-assistant-0.75/debian/tests/std-run	2022-12-21 20:49:44.000000000 +0100
+++ di-netboot-assistant-0.76/debian/tests/std-run	2023-03-16 17:05:12.000000000 +0100
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/usr/bin/bash
 
 ## Make sure package and script version are identical:
 PV="$(dpkg-query -f='${Version}\n' -W di-netboot-assistant)"
 SV="$(di-netboot-assistant -V | cut -d' ' -f2)"
-if [ "${PV%%~*}" != "$SV" ] ; then
+if [ "${PV%%[^.0-9]*}" != "$SV" ] ; then
     echo "E: Version of package ($PV) and script ($SV) do not match!"
     exit 1
 else
diff -Nru di-netboot-assistant-0.75/di-netboot-assistant di-netboot-assistant-0.76/di-netboot-assistant
--- di-netboot-assistant-0.75/di-netboot-assistant	2022-12-21 20:49:44.000000000 +0100
+++ di-netboot-assistant-0.76/di-netboot-assistant	2023-03-16 17:05:12.000000000 +0100
@@ -26,7 +26,7 @@
 
 # ------------------ Declare the constants ------------------- #
 PACKAGE_NAME=di-netboot-assistant
-PACKAGE_VERSION=0.75
+PACKAGE_VERSION=0.76
 
 # -------------- Initialize the global variables ------------- #
 OFFLINE=false
diff -Nru di-netboot-assistant-0.75/examples/preseed.cfg di-netboot-assistant-0.76/examples/preseed.cfg
--- di-netboot-assistant-0.75/examples/preseed.cfg	2022-12-21 20:49:44.000000000 +0100
+++ di-netboot-assistant-0.76/examples/preseed.cfg	2023-03-16 17:05:12.000000000 +0100
@@ -30,6 +30,10 @@
 d-i debian-installer/locale string en_US
 d-i keyboard-configuration/xkb-keymap select us
 
+## netcfg will choose an interface that has link if possible. This makes it
+## skip displaying a list if there is more than one interface:
+#d-i netcfg/choose_interface select auto
+
 ## Use hostname assigned by DHCP:
 d-i netcfg/get_hostname string unassigned-hostname
 d-i netcfg/get_domain string unassigned-domain
@@ -37,7 +41,13 @@
 ## Skip root account:
 d-i passwd/root-login boolean false
 
+## If non-free firmware is needed for the network or other hardware, you can
+## configure the installer to always try to load it, without prompting. Or
+## change to false to disable asking.
+d-i hw-detect/load_firmware boolean true
+
 ### Apt setup
+d-i apt-setup/non-free-firmware boolean true
 d-i apt-setup/non-free boolean true
 d-i apt-setup/contrib boolean true
 
@@ -111,6 +121,8 @@
       echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6tlRPOPBdxAJKLCNH+7S3fHhxzu64HViJQDFZbbI+Mbd+wwx6fe7ba1XZ8TXcFGmipHBYiOVaGMXIeJvGsEK3P1ULXNcNygrXl6HzjKDyL+iX3e7plsOQRHFoNfaGSjFtY5cRFeE4pGG7c1Q6EZqzxt1VZX94zhQBGNi8YxSGz4vp+MRH/OaJBvxPKQuBt0jQR/S1v5B8inDk+qty7/0wqnAQLbwvRchJqd7WpOGpk+8bgw+N4r5wA5kwM+QA52VNai5dVgrTzmJXKPRPpQrlvBzp38NW54S6Z894iR+5Hs9TWUWltPZZBYrQhiKWA8bvBieSLEP3yttchxZhh1yh ansible@installbox" >> /target/home/ansible/.ssh/authorized_keys ; \
       in-target chown -R ansible:ansible /home/ansible/.ssh/ ; \
       in-target chmod -R og= /home/ansible/.ssh/ ; \
+      [ -z "$playbook" ] || mkdir -v /target/dev/shm ; \
+      [	-z "$playbook" ] || in-target mount -v -t tmpfs tmpfs /dev/shm ; \
       [ -z "$playbook" ] || in-target ansible-pull --verbose --purge --extra-vars="run_in_installer=true" \
         -i localhost, --url=https://salsa.debian.org/andi/debian-lan-ansible.git $playbook
 #        -i localhost, --url=git://installbox/.git $playbook

Reply to: