Skip to content
Snippets Groups Projects

Migrate the template scripts to /usr

Merged Ribbon requested to merge migrate-to-usr into master
All threads resolved!
+ 4
4
@@ -527,15 +527,15 @@ function cookbook_configure {
let post_script = r#"# Common post script
# Strip binaries
if [ -d "${COOKBOOK_STAGE}/usr/bin" ]
if [ -d "${COOKBOOK_STAGE}/bin" ]
then
find "${COOKBOOK_STAGE}/usr/bin" -type f -exec "${TARGET}-strip" -v {} ';'
find "${COOKBOOK_STAGE}/bin" -type f -exec "${TARGET}-strip" -v {} ';'
fi
# Remove libtool files
if [ -d "${COOKBOOK_STAGE}/usr/lib" ]
if [ -d "${COOKBOOK_STAGE}/lib" ]
then
find "${COOKBOOK_STAGE}/usr/lib" -type f -name '*.la' -exec rm -fv {} ';'
find "${COOKBOOK_STAGE}/lib" -type f -name '*.la' -exec rm -fv {} ';'
fi
# Remove cargo install files
Loading