This commit is contained in:
wt
2026-02-26 13:40:18 +07:00
parent ac7cb03d8e
commit 446ae02775
28 changed files with 140 additions and 86 deletions
+16 -16
View File
@@ -69,20 +69,20 @@ finit_init() {
make DESTDIR=$rootfspath install
check $? "Installing to rootfs finit"
find $rootfspath -name "*.la" -delete
find $rootfspath -name "*.a" -delete
rm -rv \
$rootfspath/usr/lib/pkgconfig \
$rootfspath/lib/pkgconfig \
$rootfspath/usr/include \
$rootfspath/usr/share/man \
$rootfspath/usr/share/doc
$CROSS_COMPILE-strip --strip-unneeded \
$rootfspath/usr/lib/libite.so.5.4.0 \
$rootfspath/usr/lib/libuev.so.3.0.0 \
$rootfspath/sbin/finit \
$rootfspath/sbin/initctl \
$rootfspath/libexec/finit/* \
$rootfspath/lib/libsystemd.so.0.0.0 \
$rootfspath/lib/finit/plugins/*
# find $rootfspath -name "*.la" -delete
# find $rootfspath -name "*.a" -delete
# rm -rv \
# $rootfspath/usr/lib/pkgconfig \
# $rootfspath/lib/pkgconfig \
# $rootfspath/usr/include \
# $rootfspath/usr/share/man \
# $rootfspath/usr/share/doc
# $CROSS_COMPILE-strip --strip-unneeded \
# $rootfspath/usr/lib/libite.so.5.4.0 \
# $rootfspath/usr/lib/libuev.so.3.0.0 \
# $rootfspath/sbin/finit \
# $rootfspath/sbin/initctl \
# $rootfspath/libexec/finit/* \
# $rootfspath/lib/libsystemd.so.0.0.0 \
# $rootfspath/lib/finit/plugins/*
}