[Bug 570243] Re: initramfs-tools and casper should use shell syntax checking in check target

maximilian attems maks at debian.org
Fri Jul 8 14:20:48 UTC 2011


we do so in initramfs-tools for boot and hook scripts. This is fixed
since 0.97 and thus incorporated since Maverick in Ubuntu.

** Changed in: initramfs-tools (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/570243

Title:
  initramfs-tools and casper should use shell syntax checking in check
  target

Status in “casper” package in Ubuntu:
  New
Status in “initramfs-tools” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: initramfs-tools

  Ubiquity does the following in make check:
          # Check the syntax of any shell scripts.
          set -e; for x in $$(find -type f -print0 | xargs -0 file -i | grep "text/x-shellscript" | cut -d':' -f1); do \
                  sh -n $$x; \
          done

  As casper and initramfs-tools could stand to benefit from such a
  safeguard, they should make use of it as well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/570243/+subscriptions




More information about the foundations-bugs mailing list