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
Rebuild initramfs after for SLES ppc64le (Sles12) migration. #1313
Conversation
@schabrolles what was the problem with the original one? |
There is no original one for ppc64le .... just for ppc64... |
@schabrolles Are both really same? In general for same files use symbolic links. E.g. |
@schabrolles if anyhow possible, could you please use the same number for the same script? E.g. let rebuild_initramfs always be number 170 (or maybe change it everywhere if you really need to). It helps a lot to find our way in the code. |
I think the example in |
@jsmeix You are right, they are the same, so we can link them... @schlomo, I would prefer to generate initrd close to the end of the recovery process... when we are sure Correct me if I'm wrong,
|
Then I would suggest to move rebuild_initramfs to a higher number for everybody. |
@schlomo OK, then I will move |
- move to 500 to rebuild initramfs after all migration provess - make other arch like ppc64 and ppc64le point to i386/500_rebuild_initramfs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now things look good but I did not test
if it still works with the new number
for SUSE_LINUX/i386
@schabrolles
did you test that?
No, unfortunately, I have different kind of POWER machine available, but no x86 ;-p |
For me on SLES12 on x86_64 it works well with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and works for me
on SLES12 on x86_64.
@schabrolles |
Here is a first proposal of a
500_rebuild_initramfs.sh
script for SUSE12 (based on dracut).To avoid any side effect, I put it in
finalize/SUSE_LINUX/ppc64le
.Same question as (#1311):
We will have a lot of duplicates soon as we may need the same kind of file for ppc64, x86_64 and other...
I think the way to manage the rebuilding of initramfs could be the same per distro... what do you think ?