You've already forked fedora-toolbox
forked from davejansen/fedora-bootc
One step back
This commit is contained in:
@@ -164,23 +164,23 @@ rm -rf \
|
|||||||
/etc/subgid- \
|
/etc/subgid- \
|
||||||
/.dockerenv
|
/.dockerenv
|
||||||
|
|
||||||
# Merge /usr/etc to /etc
|
# # Merge /usr/etc to /etc
|
||||||
# OSTree will error out if both dirs exist
|
# # OSTree will error out if both dirs exist
|
||||||
# And rpm-ostree will be confused and use only one of them
|
# # And rpm-ostree will be confused and use only one of them
|
||||||
if [ -d /usr/etc ]; then
|
# if [ -d /usr/etc ]; then
|
||||||
echo
|
# echo
|
||||||
echo WARNING: FOUND /usr/etc. MERGING TO ETC FOR COMPATIBILITY
|
# echo WARNING: FOUND /usr/etc. MERGING TO ETC FOR COMPATIBILITY
|
||||||
echo EXPECT PERMISSIONS ISSUES ON THE MERGED PATHS
|
# echo EXPECT PERMISSIONS ISSUES ON THE MERGED PATHS
|
||||||
echo The following files from /usr/etc will be merged to /etc:
|
# echo The following files from /usr/etc will be merged to /etc:
|
||||||
tree /usr/etc
|
# tree /usr/etc
|
||||||
|
#
|
||||||
echo
|
# echo
|
||||||
rsync -aAX --numeric-ids --checksum --links /usr/etc/ /etc
|
# rsync -aAX --numeric-ids --checksum --links /usr/etc/ /etc
|
||||||
rm -rf /usr/etc
|
# rm -rf /usr/etc
|
||||||
fi
|
# fi
|
||||||
|
#
|
||||||
# Move /etc to /usr/etc
|
# # Move /etc to /usr/etc
|
||||||
mv /etc /usr/
|
# mv /etc /usr/
|
||||||
|
|
||||||
# ...normal ublue-inspired steps continue.
|
# ...normal ublue-inspired steps continue.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user