Bug 1331369 - ostree alters initramfs
Summary: ostree alters initramfs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: ostree
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Colin Walters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-28 11:49 UTC by Harald Hoyer
Modified: 2017-03-17 13:03 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-03-17 13:03:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Harald Hoyer 2016-04-28 11:49:04 UTC
Because xdg-app needs ostree, ostree has to be installed.
The package contains /etc/dracut.conf.d/ostree.conf

First of all my boot process should not be altered because I want to use xdg-app. 

Secondly, please use /usr/lib/dracut/dracut.conf.d/ for RPMs. /etc is for the admin.

Please split out the dracut part somehow. I don't plan to use ostree for my /usr. I only want to use xdg-app.

Thanks

Comment 1 Colin Walters 2016-04-28 12:48:43 UTC
Hm...we could probably delete the conf file entirely, and change rpm-ostree to invoke dracut with `--add ostree` ?

Comment 2 Harald Hoyer 2016-04-28 13:38:53 UTC
(In reply to Colin Walters from comment #1)
> Hm...we could probably delete the conf file entirely, and change rpm-ostree
> to invoke dracut with `--add ostree` ?

yes, you could

Comment 3 Colin Walters 2016-04-28 20:27:06 UTC
https://github.com/projectatomic/rpm-ostree/pull/276

Comment 4 Jan Kurik 2016-07-26 05:12:01 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 5 Colin Walters 2016-09-16 12:38:09 UTC
Er, still didn't make the spec change, will do now.

Comment 6 Colin Walters 2017-03-17 13:03:06 UTC
commit af4b821a6645fc93ca067c67f5f4bdf569a93b30
Author:     Colin Walters <walters>
AuthorDate: Fri Sep 16 08:39:25 2016 -0400
Commit:     Colin Walters <walters>
CommitDate: Fri Sep 16 09:16:27 2016 -0400

    Set --with-dracut=yesbutnoconf
    
      Resolves: #1331369

This will also help, except things get messier since flatpak wants rofiles-fuse which currently lives in the binary package.

commit 3b37a92bc97525bf1550935e8e26447e29466b6b
Author:     Colin Walters <walters>
AuthorDate: Tue Feb 7 13:23:03 2017 -0500
Commit:     Colin Walters <walters>
CommitDate: Tue Feb 7 14:39:45 2017 -0500

    Split off ostree-libs
    
    This is the inverse of upstream https://github.com/ostreedev/ostree/pull/659 but
    renaming the package would be hard for low immediate gain. With this at least,
    flatpak could theoretically depend just on libostree. And similarly for
    rpm-ostree compose tree (when that gets split out).


Note You need to log in before you can comment on or make changes to this bug.