Renamed all .gitignore to .keep
.gitignore's shouldn't be removed as they (might) serve a purpose for bundles
This commit is contained in:
parent
58ccaa6ab1
commit
fbf7cd37d8
@ -24,9 +24,9 @@ cp -r ../minimal_rootfs/* rootfs
|
||||
|
||||
cd rootfs
|
||||
|
||||
# Delete the '.gitignore' files which we use in order to keep track of otherwise
|
||||
# Delete the '.keep' files which we use in order to keep track of otherwise
|
||||
# empty folders.
|
||||
find * -type f -name '.gitignore' -exec rm {} +
|
||||
find * -type f -name '.keep' -exec rm {} +
|
||||
|
||||
# Remove 'linuxrc' which is used when we boot in 'RAM disk' mode.
|
||||
rm -f linuxrc
|
||||
|
@ -22,9 +22,9 @@ cp -r $MAIN_SRC_DIR/minimal_config $DEST_DIR/usr/src
|
||||
|
||||
cd $DEST_DIR/usr/src
|
||||
|
||||
# Delete the '.gitignore' files which we use in order to keep track of otherwise
|
||||
# Delete the '.keep' files which we use in order to keep track of otherwise
|
||||
# empty folders.
|
||||
find * -type f -name '.gitignore' -exec rm {} +
|
||||
find * -type f -name '.keep' -exec rm {} +
|
||||
|
||||
# With '--remove-destination' all possibly existing soft links in
|
||||
# '$OVERLAY_ROOTFS' will be overwritten correctly.
|
||||
|
Loading…
x
Reference in New Issue
Block a user