PATCH_LIST=" 0001-scripts-functions-make-recursive_rmmod-also-support-.patch 0002-scripts-ipforward-better-test-for-ipv4-ipv6-sysctls.patch 0003-rc.S-create-var-lock.patch 0004-network-replace-vconfig-commands-by-iproute2-ones.patch 0005-network-replace-brctl-command-iproute2-ones-ip-link.patch 0006-network-support-fctl-option-to-force-flow-control.patch 0007-network-add-basic-support-for-wpa_supplicant.patch 0008-network-provide-a-little-bit-more-tunables-for-wpa_s.patch 0009-dt-modules-new-script-to-load-modules-for-device-tre.patch 0010-pf-modules-new-script-for-loading-platform-modules.patch 0011-preinit-load-dt-modules-when-a-device-tree-is-found.patch 0012-preinit-also-load-modules-for-platform-devices-befor.patch " FILE_LIST= SRC_FETCH_METHOD="http" SRC_FETCH_PATH="https://github.com/formilux/init-scripts/archive/refs/tags/v${PKGVER}.tar.gz" FILE_LIST=.flxfiles FLXARCH=noarch MAKEDEPENDS= function do_compile { : } function do_prepack { cp -a --parents $(cat $FILE_LIST) $ROOTDIR/ chown -R root:adm $ROOTDIR/ chmod -R o-w,ug-ws $ROOTDIR/ # Some scripts need to be world-readable because some of them are used # by other scripts or applications to get shared parameters, or by # non-root monitors which use them to check a service status. set_default_perm $ROOTDIR chmod -R ug+rx $ROOTDIR/sbin/ chmod o+rx $ROOTDIR/sbin/service chmod 740 $ROOTDIR/.preinit $ROOTDIR/etc/startup.rc # just in case it would not exist mkdir -p $PKGDIR/compiled } function do_strip { : } function do_tar_src { git repo-config tar.umask 022 git archive --format=tar --prefix="$PKGRADIX-$PKGVER/" HEAD | gzip -c9 > $PKGRADIX-$PKGVER.tgz }