summaryrefslogtreecommitdiff
path: root/dracut.conf
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2012-08-14 22:09:39 +0100
committerHarald Hoyer <harald@redhat.com>2012-08-21 18:46:20 +0200
commit68318328f1fc394ac043b939425715ba78dc6f57 (patch)
tree6caae91af970ac0b94f173f5f79d8ed30e84f173 /dracut.conf
parentc9a9968dfc7f8fb644909cbb52e27fe7312156a7 (diff)
downloaddracut-68318328f1fc394ac043b939425715ba78dc6f57.tar.gz
dracut-68318328f1fc394ac043b939425715ba78dc6f57.tar.bz2
dracut-68318328f1fc394ac043b939425715ba78dc6f57.zip
install/dracut-install.c: Ensure deps are resolved when handling scripts
If we are doing lazy dep solving and happen to process a script with a shebang on e.g. /bin/bash before we encounter the actual binary itself we effectively ignore the fact that we've been asked to resolve the deps and put the item in the 'seen' hashmap. Thus when we later really do try and resolve deps, we short circuit and don't do anything. Example test case: $ cd $ mkdir -p foo/bin $ cp /bin/bash foo/bin $ echo '#!/bin/bash' >foo/bin/script $ dracut-install -D $HOME/foo -R $HOME/foo/bin/script $HOME/foo/bin/bash
Diffstat (limited to 'dracut.conf')
0 files changed, 0 insertions, 0 deletions