Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
kiwi
:
Appliance
>
dracut
> 0046-lsinitrd.sh-fixed-unpack-and-skipcpio-search.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 0046-lsinitrd.sh-fixed-unpack-and-skipcpio-search.patch of Package dracut
From f8220869177f9483765c7393a5ea1ee386e74afd Mon Sep 17 00:00:00 2001 From: Harald Hoyer <harald@redhat.com> Date: Mon, 11 Apr 2016 15:22:11 +0200 Subject: [PATCH] lsinitrd.sh: fixed unpack and skipcpio search --- lsinitrd.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lsinitrd.sh b/lsinitrd.sh index 224b9c1a..b19a66a0 100755 --- a/lsinitrd.sh +++ b/lsinitrd.sh @@ -40,7 +40,6 @@ usage() sorted=0 modules=0 -unpack=0 unset verbose declare -A filenames @@ -184,7 +183,11 @@ case $bin in echo "Early CPIO image" list_files fi - SKIP="$dracutbasedir/skipcpio" + if [[ -d "$dracutbasedir/skipcpio" ]]; then + SKIP="$dracutbasedir/skipcpio/skipcpio" + else + SKIP="$dracutbasedir/skipcpio" + fi if ! [[ -x $SKIP ]]; then echo echo "'$SKIP' not found, cannot display remaining contents!" >&2