New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fedora template update: automatically reinstall custom user rpms #2477

Open
rootkovska opened this Issue Dec 3, 2016 · 1 comment

Comments

Projects
None yet
3 participants
@rootkovska
Member

rootkovska commented Dec 3, 2016

For users upgrading their original Fedora templates (which don't have any custom repos added), it's easy to retrieve and "play back" the list of all custom RPMs installed:

[user@fedora-23 ~]$ sudo dnf history userinstalled | sed -re 's/^(.*)-([^-]+)-([^-]+)$/\1/' | tail -n +2 > pkgs
[user@fedora-23 ~]$ qvm-copy-to-vm fedora-24 pkgs
[user@fedora-24 ~]$ sudo dnf install -y `cat ~/QubesIncoming/fedora-23/pkgs`

Of course the above doesn't take into account any non-RPM-packaged template modifications (e.g. custom /rw/config/), nor RPM packages from other-than default YUM repos.

Still, I think somehow aumating the above would be helpful for many users. It's not clear to me, however, UI-wise, how this automation should be done to be most useful and easy to use? I.e. who should offer to run these scripts?

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Dec 4, 2016

Member
Member

marmarek commented Dec 4, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment