Re: [LORAX] keep convertfs.sh script in image (#787893)

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

 



On Tue, 2012-02-07 at 17:17 -0800, Brian C. Lane wrote:
> From: "Brian C. Lane" <bcl@xxxxxxxxxx>
> 
> This is needed by anaconda in order to upgrade to F17
> ---
>  share/runtime-cleanup.tmpl |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl
> index d7711e9..fced3ab 100644
> --- a/share/runtime-cleanup.tmpl
> +++ b/share/runtime-cleanup.tmpl
> @@ -21,7 +21,9 @@ removepkg plymouth*
>  removefrom ${product.name}-logos /usr/share/plymouth/*
>  ## we don't create new initramfs/bootloader conf inside anaconda
>  ## (that happens inside the target system after we install dracut/grubby)
> -removepkg dracut* grubby
> +removepkg dracut-network grubby
> +## In order to execute the /usr move on upgrades we need convertfs from dracut
> +removefrom dracut --allbut /usr/lib/dracut/modules.d/30convertfs/convertfs.sh
>  ## we don't run SELinux (not in enforcing, anyway)
>  removepkg checkpolicy selinux-policy libselinux-utils
>  ## anaconda has its own repo files

The other option is to include 'convertfs' in the initramfs itself
(which we should probably do anyway) and then just
run /run/initramfs/sbin/convertfs instead.

That might actually be the smarter way to go - in general, stuff in
dracut may not work if run from the modules.d directory - relative paths
and such may not work.

In this particular case I think it works either way, but maybe we want
to avoid setting bad precedent..

-w

_______________________________________________
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