Package: schroot
Version: 1.4.23-1
Severity: wishlist

thanks for maintaining schroot!

it would be useful if schroot could set a variable (CHROOT_NAME_ALIAS?) that 
contained the alias used, much like CHROOT_NAME shows which chroot is used:

so in schroot.conf:

  [sid]
  aliases=default,unstable,experimental,some-wacky-sid-variant
  description=sid
  type=lvm-snapshot
  device=/dev/prl/schroot_base
  lvm-snapshot-options=--size 2G
  location=/sid
   
which would allow for a setup.d script:

  #!/bin/sh
  if [ "${CHROOT_NAME_ALIAS}" = "experimental" ] ; then
    # some magic that configures experimental chroot here...
  elif [ "${CHROOT_NAME_ALIAS}" = "some-wacky-sid-variant" ] ; then
    # some magic that configures some-wacky-sid-variant chroot here...
  fi


this would save the need of having to set up a separate schroot.conf entry for 
chroots that contain only minimal differences in the source chroot.

this would also allow options like apt-get dist-upgrade when using schroot 
--all-source-chroots behave with fewer surprises, since it won't treat the 
other entries as having a separate source chroot.


live well,
  vagrant



-- 
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