Package: debirf
Version: 0.33
Severity: wishlist


Would possibly be useful for debirf to have a highly user-visible (yet 
non-stalling)
warning in case a package setup is drawing in a GUI bloat dependency,
i.e., GUI-dependent packages are being installed
(this could possibly be determined via appearance of libx11-data package).



Perhaps debirf should offer an option (-m? -b?) to be doing a bind mount
of /proc? (hmm, and /dev, /sys??)
    See http://forums.debian.net/viewtopic.php?t=34902
    At least in the fakechroot case bind mounts of /dev /proc /sys
should be ok, right?

    The following packages fail:
    tgt: throws some stupid tgtadm "Transport endpoint is not connected"
errors, likely due to missing /proc
    zfs-fuse: cannot find /proc/PID/oom_adj (and locks up with 100% CPU to 
boot!!)
    chrony and samba: start-stop-daemon barfs on missing /proc



DEBIRF_ARCH not mentioned in debirf.conf - perhaps this is intentional
(possibly due to issues; especially since there may easily be problems
on same-arch even), perhaps not
  # Which manually specified arch override to pass to debootstrap?
  # Example value: "i386".



Note that debirf seems to be doing fakeroot / chroot / fakechroot in an order
that is NOT officially sanctioned by a recent fakechroot man page:
"It is important to start fake environment in proper order. fakeroot
should be started inside fakeroot:" ... "fakechroot fakeroot chroot ..."
Trying to manually invoke a corrected order (debirf script has some
layering here which seems to make it difficult to achieve the correction)
did not help with the Permission Denied issue, though -
ultimately I had to resort to debirf -r to get through processing unscathed,
unfortunately.



modules/install-kernel:
  "generating modules.dep..." (should perhaps log $KVERS here, too)



debirf possibly does not have support for a rootfs.tar.bz2 (e.g. 
ping.windowsdream.com has that)
Possibly much better compression...



bashisms (while the script implementation clearly is bash-specific,
some reduction might be useful, via devscripts' checkbashisms)



Package suggestions (need to watch out for Wintel specifics?):

Possibly good rescue packages, smallish:
   sshfs xmount fusedav
   memtester dmidecode vbetool
   netcat buffer cpipe
   ethtool
   hexedit
   strace ltrace
   perforate fdupes
larger ones:
   ntfs-3g partclone
   ntpdate
   elinks-lite (probably size-preferable to curl and especially to
wget)
less relevant ones:
   superiotool mii-diag (mii-tool provided by ethtools)



And some patches following which may or may not get applied,
in this or not this form. ;)

Thanks for a very nice tool!


commit 185759d268bd044b5e79a7db0cfbb455fb917511
Author: Andreas Mohr <and...@users.sf.net>
Date:   Wed Aug 28 21:09:11 2013 +0200

    Random usability improvement comments.
    
    - point out that DEBIRF_DISTRO may not always be available
      at the moment that you'd expect it
    - mention kernel image specifics
    - misc.

diff --git a/doc/README b/doc/README
index 57808fd..16e9691 100644
--- a/doc/README
+++ b/doc/README
@@ -62,7 +62,9 @@ If this run is successful, there should be a bootable ISO 
image stored
 at ~/debirf/minimal/debirf-minimal.iso.  You can burn this .iso image format
 as (into) CD format using a tool like wodim, or use it via USB multi-boot.
 
-Have fun!  Create new modules and profiles for your specific needs.
+Have fun!  Create new modules and profiles for your specific needs
+(storing your module files in a parent directory of the profile-specific dir
+may sometimes be useful, for easy duplicated symlinking and central updating).
 If you think your module or profile would be generally useful, please
 let us know and we'll include it with future versions of debirf.  Also
 please let us know of any issues, bugs, or requests.
diff --git a/doc/example-profiles/minimal/debirf.conf 
b/doc/example-profiles/minimal/debirf.conf
index 66f2a54..79cc2c1 100644
--- a/doc/example-profiles/minimal/debirf.conf
+++ b/doc/example-profiles/minimal/debirf.conf
@@ -23,7 +23,7 @@ DEBIRF_LABEL="debirf-minimal"
 #DEBIRF_DISTRO=
  
 # What mirror should debirf pull the suite from?  By default, this is
-# based on the DEBIRF_DISTRO
+# based on the DEBIRF_DISTRO setting that may be chosen by the script.
 # (eg. "http://mirrors.kernel.org/${DEBIRF_DISTRO}";).
 #
 #DEBIRF_MIRROR=
diff --git a/doc/example-profiles/rescue/debirf.conf 
b/doc/example-profiles/rescue/debirf.conf
index 4ca0cb9..e3bb2f6 100644
--- a/doc/example-profiles/rescue/debirf.conf
+++ b/doc/example-profiles/rescue/debirf.conf
@@ -23,7 +23,7 @@ DEBIRF_LABEL="debirf-rescue"
 #DEBIRF_DISTRO=
  
 # What mirror should debirf pull the suite from?  By default, this is
-# based on the DEBIRF_DISTRO
+# based on the DEBIRF_DISTRO that may be chosen by the script.
 # (eg. "http://mirrors.kernel.org/${DEBIRF_DISTRO}";).
 #
 #DEBIRF_MIRROR=
diff --git a/doc/example-profiles/xkiosk/debirf.conf 
b/doc/example-profiles/xkiosk/debirf.conf
index ef32256..dcac5f8 100644
--- a/doc/example-profiles/xkiosk/debirf.conf
+++ b/doc/example-profiles/xkiosk/debirf.conf
@@ -23,7 +23,7 @@ DEBIRF_LABEL="debirf-xkiosk"
 #DEBIRF_DISTRO=
  
 # What mirror should debirf pull the suite from?  By default, this is
-# based on the DEBIRF_DISTRO
+# based on the DEBIRF_DISTRO that may be chosen by the script.
 # (eg. "http://mirrors.kernel.org/${DEBIRF_DISTRO}";).
 #
 #DEBIRF_MIRROR=
diff --git a/src/modules/install-kernel b/src/modules/install-kernel
index f02e498..96f73a5 100755
--- a/src/modules/install-kernel
+++ b/src/modules/install-kernel
@@ -44,7 +44,9 @@ if [ -z "$DEBIRF_KERNEL_PACKAGE" ] ; then
     debirf_exec apt-get install -d -y "$KNAME"
 
 else
-    # install kernel deb if given at command line
+    # install kernel deb if given at command line.
+    # obviously needs to point at a full kernel image data package
+    # rather than a non-content meta package.
     cp "$DEBIRF_KERNEL_PACKAGE" "$DEBIRF_ROOT"/var/cache/apt/archives/
 fi
 

commit b334a47378f94b0d93308f9c567529497a80d0b5
Author: Andreas Mohr <and...@users.sf.net>
Date:   Wed Aug 28 21:08:46 2013 +0200

    Save those trees!

diff --git a/doc/README b/doc/README
index 7682f6d..57808fd 100644
--- a/doc/README
+++ b/doc/README
@@ -48,17 +48,19 @@ prepare it for diskless booting.  Finally the kernel is 
extracted, and
 the root fs is archived into an initramfs.
 
 The kernel and initramfs can be placed into a system boot partition,
-burnt to read-only media, or supplied by a netboot server.
+onto a multi-boot USB stick (see unetbootin, grub4dos search terms),
+burnt to read-only media, or supplied by a netboot (e.g. PXE) server.
 
-You can also create a burnable CD image from your profile. After making a
+E.g. in cases where no USB stick multi-boot setup is available,
+you may also create a burnable CD image from your profile. After making a
 minimal debirf profile (following the example above), convert it into an iso
 image by running:
 
 $ debirf makeiso minimal
 
 If this run is successful, there should be a bootable ISO image stored
-at ~/debirf/minimal/debirf-minimal.iso.  You can burn this to a CD
-using a tool like wodim.
+at ~/debirf/minimal/debirf-minimal.iso.  You can burn this .iso image format
+as (into) CD format using a tool like wodim, or use it via USB multi-boot.
 
 Have fun!  Create new modules and profiles for your specific needs.
 If you think your module or profile would be generally useful, please


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to