Add more dpkg preparation (for amd64)
authorRalph Ronnquist <rrq@rrq.au>
Thu, 19 Sep 2024 11:48:09 +0000 (21:48 +1000)
committerRalph Ronnquist <rrq@rrq.au>
Thu, 19 Sep 2024 11:48:09 +0000 (21:48 +1000)
build-installer-functions.sh

index 7d50e4dc56ccc9822d0304caca71d49bf73cc41c..fb7d2616a727d77bfc47822de3fb5f7bbe888b31 100644 (file)
@@ -189,7 +189,8 @@ target_dpkg() {
     [ -z "$X" ] && die "** Aborting"
     cd $INITRD
     if [ ! -f etc/debconf.conf ] ; then
-       cat /etc/debconf.conf | heredoc etc/debconf.conf
+       heredoc etc/dpkg/origins/default < /etc/dpkg/origins/default 
+       heredoc etc/debconf.conf < /etc/debconf.conf
        local F
        for F in $(sed '/^Filename:/!d;s/[^ ]* /./' etc/debconf.conf) ; do
            [ -f "$F" ] || echo -n | heredoc $F