PATCH_LIST=" 0001-rc.S-do-not-create-wtmp-anymore.patch 0002-rc.S-fix-permissions-on-a-few-var-directories.patch 0003-functions-make-use-of-taskset-when-available-to-set-.patch 0004-functions-fix-typo-in-best_effort_rmmod.patch 0005-preinit-move-bootmodules-before-INITSHELL.patch 0006-preinit-mount-sysfs-by-default.patch 0007-preinit-fix-some-mtd-mmc-entries-in-dev.patch 0008-preinit-add-support-for-gl-inet-s-button-to-restore-.patch 0009-preinit-don-t-run-depmod-if-the-system-has-no-module.patch 0010-functions-only-run-modprobe-if-proc-modules-exists.patch 0011-scripts-don-t-call-modprobe-if-modules-are-not-suppo.patch 0012-system-only-set-time-from-RTC-if-there-is-an-RTC.patch 0013-scripts-fix-date-emit-a-log-when-the-date-is-forced.patch 0014-scripts-fix-date-reject-dates-later-than-2038.patch 0015-rc.S-support-newer-versions-of-mount.patch 0016-system-add-support-for-automatic-mount-of-nv.patch 0017-scripts-functions-make-setsec-support-empty-sections.patch 0018-scripts-functions-do-not-add-a-line-feed-after-an-em.patch 0019-sbin-bootcmd-extract-it-from-old-startup.rc.patch 0020-sbin-detect-board-detect-the-type-of-board.patch 0021-sbin-detect-board-improve-machine-name-detection.patch " FILE_LIST= SRC_FETCH_METHOD="http" SRC_FETCH_PATH="http://git.formilux.org/?p=dist/src/init-scripts.git;a=snapshot;h=v$PKGVER;sf=tgz" 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 }