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
Warn if initrd cannot be created when udev not there #1176
Warn if initrd cannot be created when udev not there #1176
Conversation
…de cleanup (related to issue 1171)
@gdha |
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.
You may test it out - looks ok, but as you mentioned not sure it is 100% yet.
fi | ||
# During "rear mkbackup/mkrescue" 260_storage_drivers.sh creates $VAR_DIR/recovery/storage_drivers | ||
if cmp -s $TMP_DIR/storage_drivers $VAR_DIR/recovery/storage_drivers ; then | ||
Log "Skip recreating initramfs: '$TMP_DIR/storage_drivers' and '$VAR_DIR/recovery/storage_drivers' are same" |
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.
perhaps are same
should be are the same
?
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.
I even asked a native English speaking colleague
and you are right:
It is like "foo and bar are the same"
versus "foo and bar are same as baz".
@jsmeix Wait for the merging pull request 'till you have tested it yourself first. |
BLOCKCLONE backup method
FYI regarding my code cleanup: |
Does not yet work because + source /usr/share/rear/finalize/SUSE_LINUX/i386/170_rebuild_initramfs.sh ++ test -s /tmp/rear.ZrH4yz5LjAGGsMC/tmp/storage_drivers ++ cmp -s /tmp/rear.ZrH4yz5LjAGGsMC/tmp/storage_drivers /var/lib/rear/recovery/storage_drivers /usr/share/rear/finalize/SUSE_LINUX/i386/170_rebuild_initramfs.sh: line 11: cmp: command not found |
…_typo BUG: Typo in rebuild_initramfs for PPC64
…de cleanup (related to issue 1171)
…lated_to_issue1171' of https://github.com/jsmeix/rear into warn_if_initrd_cannot_be_created_when_udev_not_there_related_to_issue1171
Damn! |
I did a new (and hopefully clean) pull request: |
Warn if initrd cannot be created when udev not there
and some more code cleanup, see
#1171 (comment)