Re: [PATCH 2/3] Copy cmsfscat from /usr/sbin, not /usr/bin.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/15/2009 03:52 AM, David Cantrell wrote:
> Make sure cmsfscat makes it in to the s390x initrd, it lives in
> /usr/sbin after upd-instroot has run.
> ---
>  scripts/mk-images |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/scripts/mk-images b/scripts/mk-images
> index 67e5c70..0fdb772 100755
> --- a/scripts/mk-images
> +++ b/scripts/mk-images
> @@ -592,9 +592,10 @@ makeinitrd() {
>          instbin $IMGPATH /usr/bin/find $MBD_DIR /sbin/find
> 
>          # required for linuxrc.s390
> -        for cmd in cmsfscat ping ping6 cat head tr wc echo printf cut mknod ; do
> +        for cmd in ping ping6 cat head tr wc echo printf cut mknod ; do
>              instbin $IMGPATH /usr/bin/$cmd $MBD_DIR /sbin/$cmd
>          done
> +        instbin $IMGPATH /usr/sbin/cmsfscat $MBD_DIR /sbin/cmsfscat

Thinking of
https://bugzilla.redhat.com/show_bug.cgi?id=522535#c3
I'm not sure, if KEEPFILE in upd-instroot might need to be tweaked as
well since it says:
sbin/cmsfscat
while the file according to the RPM package actually lives in:
usr/sbin/cmsfscat
which is also the path that you seem to reference correctly in mk-images
here.

>          instbin $IMGPATH /usr/sbin/sysctl $MBD_DIR /sbin/sysctl
> 
>          # usability and problem determination


Steffen

Linux on System z Development

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Erich Baier
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux