diff options
author | maximilian attems <maks@debian.org> | 2007-04-06 23:00:58 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2007-04-06 23:00:58 +0200 |
commit | 5182887b98795207caa1d2142cba0b4bc9e0aec0 (patch) | |
tree | 673ac17dff8e6afc52b1be5d2754f07239cfa74b | |
parent | b40436b200c024167cc289b63a2edb456a6cb258 (diff) | |
download | initramfs-tools-5182887b98795207caa1d2142cba0b4bc9e0aec0.tar.gz initramfs-tools-5182887b98795207caa1d2142cba0b4bc9e0aec0.zip |
mkinitramfs: set PATH with sbin
allows non-root user creation of initramfs :)
-rw-r--r-- | debian/changelog | 8 | ||||
-rwxr-xr-x | mkinitramfs | 1 |
2 files changed, 7 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index 9e4031b..73466c0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -44,10 +44,14 @@ initramfs-tools (0.86) UNRELEASED; urgency=low * mkinitramfs: Don't add backup scripts to initramfs. (closes: 378682) (LP: #78348) - * scripts/functions: run_scripts() return immediately if passed dir + * scripts/functions: run_scripts() return immediately if passed dir does not exist. Empty dirs without boot script aren't created anymore. - -- maximilian attems <maks@debian.org> Thu, 5 Apr 2007 21:16:45 +0200 + * mkinitramfs: Set PATH with /sbin to allow non-root user usage. + Thanks Bob Montgomery <bob.montgomery@hp.com> for the suggestion. + (closes: 409995) + + -- maximilian attems <maks@debian.org> Fri, 6 Apr 2007 22:40:56 +0200 initramfs-tools (0.85g) unstable; urgency=high diff --git a/mkinitramfs b/mkinitramfs index c348516..17e1846 100755 --- a/mkinitramfs +++ b/mkinitramfs @@ -1,6 +1,7 @@ #!/bin/sh umask 0022 +export PATH='/usr/bin:/sbin:/bin' # Defaults keep="n" |