Your message dated Tue, 28 May 2024 14:50:55 +0000
with message-id <[email protected]>
and subject line Bug#1069779: Removed package(s) from unstable
has caused the Debian Bug report #620294,
regarding Please provide pre-built debirf image package
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
620294: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=620294
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debirf
Severity: wishlist

I love debirf, its so handy! However, the handiness is offset by the
less than handy process of having to build these images and ship them
off to my machines that I want debirf on. The fact that I want debirf
installed on every physical mcahine I have, and setup automatically in
grub2 make me sad that there is no package I can just install.

I propose building a package that installs pre-built images into
/boot/debirf and the following (tested!) /etc/grub.d/21_debirf to fill
out the grub menu:

#!/bin/sh
set -e

prefix=/usr
exec_prefix=${prefix}
bindir=${exec_prefix}/bin
libdir=${exec_prefix}/lib
. ${libdir}/grub/grub-mkconfig_lib

DEBIRF_CMDLINE="root=/dev/ram0 rw panic=15 $GRUB_CMDLINE_LINUX"

# loop-AES arranges things so that /dev/loop/X can be our root device, but
# the initrds that Linux uses don't like that.
case ${GRUB_DEVICE} in
  /dev/loop/*|/dev/loop[0-9])
    GRUB_DEVICE=`losetup ${GRUB_DEVICE} | sed -e "s/^[^(]*(\([^)]\+\)).*/\1/"`
  ;;
esac

if [ "x${GRUB_DEVICE_UUID}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = 
"xtrue" ] \
    || ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \
    || uses_abstraction "${GRUB_DEVICE}" lvm; then
  LINUX_ROOT_DEVICE=${GRUB_DEVICE}
else
  LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID}
fi

prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed 
-e "s/^/\t/")"

list=`for i in /boot/debirf/vmlinuz-* ; do
        if is_path_readable_by_grub "$i" && grub_file_is_not_garbage "$i" ;
           then echo -n "$i " ; fi
        done`

while [ "x$list" != "x" ] ; do
  debirf_linux=`version_find_latest $list`
  echo "Found debirf image: $debirf_linux" >&2
  basename=`basename $debirf_linux`
  dirname=`dirname $debirf_linux`
  rel_dirname=`make_system_path_relative_to_its_root $dirname`
  version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`

  debirf_initrd=
  for i in "debirf-rescue_${version}.cgz" "debirf-minimal_${version}.cgz" \
      "debirf-kiosk_${version}.cgz"; do
    if test -e "${dirname}/${i}" ; then
      debirf_initrd="$i"
      break
    fi
  done

  if test -n "${debirf_initrd}" ; then
    echo "Found debirf initrd image: ${dirname}/${debirf_initrd}" >&2
  else
    echo "No debirf initrd images found"
  fi

  cat <<EOF
menuentry "debirf ${version}" --users su {
EOF
  printf '%s\n' "${prepare_boot_cache}"

  cat <<EOF
        linux ${rel_dirname}/${basename} 
        initrd ${rel_dirname}/${debirf_initrd}
}
EOF
 
  list=`echo $list | tr ' ' '\n' | grep -vx $debirf_linux | tr '\n' ' '`
done

-- 

Attachment: pgpdeOFYAaFr5.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Version: 0.38+rm

Dear submitter,

as the package debirf has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1069779

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to