diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-apps/epoch/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-apps/epoch/files')
-rw-r--r-- | sys-apps/epoch/files/epoch-1.0-epoch.conf | 77 | ||||
-rw-r--r-- | sys-apps/epoch/files/epoch-1.0-fix-CFLAGS.patch | 10 | ||||
-rw-r--r-- | sys-apps/epoch/files/epoch-1.3.0-fix-main.patch | 13 |
3 files changed, 100 insertions, 0 deletions
diff --git a/sys-apps/epoch/files/epoch-1.0-epoch.conf b/sys-apps/epoch/files/epoch-1.0-epoch.conf new file mode 100644 index 000000000000..e0550d48709c --- /dev/null +++ b/sys-apps/epoch/files/epoch-1.0-epoch.conf @@ -0,0 +1,77 @@ +BootBannerText=Welcome! +BootBannerColor=RED + +Hostname=FILE /etc/hostname +DefaultRunlevel=boot +EnableLogging=true +MountVirtual=procfs sysfs devpts+ devshm+ + +ObjectID=mountrun + ObjectDescription=Mounting /run + ObjectStartCommand=mount /run + ObjectStartPriority=1 + ObjectStopPriority=0 + ObjectEnabled=true + ObjectOptions=RAWDESCRIPTION + ObjectRunlevels=boot + +ObjectID=mounttmp + ObjectDescription=Mounting /tmp + ObjectStartCommand=mount /tmp + ObjectStartPriority=1 + ObjectStopPriority=0 + ObjectEnabled=true + ObjectOptions=RAWDESCRIPTION + ObjectRunlevels=boot + +ObjectID=rwfs + ObjectDescription=read-write support on / + ObjectStartCommand=/bin/mount -o remount,rw / + ObjectStopCommand=/bin/mount -o remount,ro / + ObjectStartPriority=2 + ObjectStopPriority=5 + ObjectEnabled=true + ObjectRunlevels=boot + +ObjectID=getty1 + ObjectDescription=agetty on /dev/tty1 + ObjectStartCommand=agetty --noclear tty1 & + ObjectStopCommand=NONE + ObjectStartPriority=3 + ObjectStopPriority=0 + ObjectEnabled=true + ObjectOptions=SERVICE AUTORESTART + ObjectRunlevels=boot + +ObjectID=extrafs + ObjectDescription=extra filesystems and swaps + ObjectStartCommand=mount -a && swapon -a + ObjectStopCommand=swapoff -a && umount -a -r -t nodevtmpfs,notmpfs,nosysfs,noproc + ObjectStartPriority=4 + ObjectStopPriority=4 + ObjectEnabled=true + ObjectRunlevels=boot + +ObjectID=killall5_soft + ObjectDescription=Terminating all processes + ObjectStopCommand=killall5 -15 && sleep 1 + ObjectStartPriority=0 + ObjectStopPriority=1 + ObjectEnabled=true + ObjectOptions=HALTONLY RAWDESCRIPTION + +ObjectID=sync + ObjectDescription=Syncing + ObjectStopCommand=/bin/sync + ObjectStartPriority=0 + ObjectStopPriority=2 + ObjectEnabled=true + ObjectOptions=HALTONLY RAWDESCRIPTION + +ObjectID=killall5 + ObjectDescription=Killing all processes + ObjectStopCommand=killall5 -9 && sleep 1 + ObjectStartPriority=0 + ObjectStopPriority=3 + ObjectEnabled=true + ObjectOptions=HALTONLY RAWDESCRIPTION diff --git a/sys-apps/epoch/files/epoch-1.0-fix-CFLAGS.patch b/sys-apps/epoch/files/epoch-1.0-fix-CFLAGS.patch new file mode 100644 index 000000000000..92842722225a --- /dev/null +++ b/sys-apps/epoch/files/epoch-1.0-fix-CFLAGS.patch @@ -0,0 +1,10 @@ +--- a/buildepoch.sh ++++ b/buildepoch.sh +@@ -53,6 +53,6 @@ + } + +-NEED_EMPTY_CFLAGS="0" ++NEED_EMPTY_CFLAGS="1" + outdir="../built" + + if [ "$CC" == "" ]; then diff --git a/sys-apps/epoch/files/epoch-1.3.0-fix-main.patch b/sys-apps/epoch/files/epoch-1.3.0-fix-main.patch new file mode 100644 index 000000000000..b158ae2e3396 --- /dev/null +++ b/sys-apps/epoch/files/epoch-1.3.0-fix-main.patch @@ -0,0 +1,13 @@ +--- src/main.c.orig 2016-11-13 15:11:58.511021203 +0000 ++++ src/main.c 2016-11-13 15:12:21.096021358 +0000 +@@ -1142,8 +1142,9 @@ static ReturnCode HandleEpochCommand(int + ShutdownMemBus(false); //We're done with membus now. + + char Compare[WARNING + 1][MEMBUS_MSGSIZE] = { MEMBUS_CODE_FAILURE " ", MEMBUS_CODE_ACKNOWLEDGED " ", MEMBUS_CODE_WARNING " "}; ++ int Inc; + +- for (int Inc = 0; Inc < sizeof Compare / sizeof *Compare; ++Inc) ++ for (Inc = 0; Inc < sizeof Compare / sizeof *Compare; ++Inc) + { + strcat(Compare[Inc], ArgIs("merge") ? MEMBUS_CODE_CFMERGE : MEMBUS_CODE_CFUMERGE); + strcat(Compare[Inc], " "); |