updated rootfs_overlay for orangepi_pc

This commit is contained in:
wt
2026-02-26 05:25:11 +07:00
parent fba6a776ac
commit 0d7b9901b8
31 changed files with 283 additions and 20 deletions
+18 -7
View File
@@ -6,17 +6,18 @@
finit_init() {
printf "$GREEN** Building and installing finit\n$RESET"
[ -d $build/finit ] && return 0
mkdir -pv $build/finit
cd $build/finit
if [ ! -d libite ]; then
if [ ! -d libite ]; then
git clone https://gitea.home.com:3000/TolaMironcenko/libite.git
check $? "Download libite"
fi
if [ ! -d libuev ]; then
if [ ! -d libuev ]; then
git clone https://gitea.home.com:3000/TolaMironcenko/libuev.git
check $? "Download libuev"
fi
if [ ! -d finit ]; then
if [ ! -d finit ]; then
git clone https://gitea.home.com:3000/TolaMironcenko/finit.git
check $? "Download finit"
fi
@@ -24,7 +25,10 @@ finit_init() {
cd libite
./autogen.sh
check $? "Autogen libite"
./configure --host=$CROSS_COMPILE --prefix=/usr
./configure \
--host=$CROSS_COMPILE \
--prefix=/usr \
--with-sysroot=$rootfspath
check $? "Configure libite"
make $makeflags
check $? "Build libite"
@@ -34,7 +38,10 @@ finit_init() {
cd ../libuev
./autogen.sh
check $? "Autogen libuev"
./configure --host=$CROSS_COMPILE --prefix=/usr
./configure \
--host=$CROSS_COMPILE \
--prefix=/usr \
--with-sysroot=$rootfspath
check $? "Configure libuev"
make $makeflags
check $? "Build libuev"
@@ -44,7 +51,7 @@ finit_init() {
cd ../finit
./autogen.sh
check $? "Autogen finit"
./configure \
PKG_CONFIG_PATH=$rootfspath/usr/lib/pkgconfig ./configure \
--host=$CROSS_COMPILE \
--prefix=/usr \
--exec-prefix= \
@@ -52,7 +59,11 @@ finit_init() {
--localstatedir=/var \
--with-watchdog \
--with-keventd \
--with-sulogin
--with-sulogin \
--with-sysroot=$rootfspath \
--enable-resolvconf-plugin \
--enable-modprobe-plugin \
--enable-modules-load-plugin
check $? "Configure finit"
make $makeflags
check $? "Build finit"