Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
From aa371bf201b1d59c595a1ad7b3464ae544ed142f Mon Sep 17 00:00:00 2001
From: Paul Crawford <psc@sat.dundee.ac.uk>
Date: Thu, 16 Mar 2023 11:42:34 +0000
Subject: [PATCH] Do not guard shutdown __GLIBC__
- Patch by Khem Raj <raj.khem@gmail.com>
- These headers are provided by uclibc/musl/glibc and bionic so we can
assume they are not needed to be glibc specific includes. This also
ensures that we get proper declaration of reboot() API
Upstream: https://sourceforge.net/p/watchdog/code/ci/aa371bf201b1d59c595a1ad7b3464ae544ed142f/
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
src/shutdown.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/shutdown.c b/src/shutdown.c
index 1d9a857..6aea0d0 100644
--- a/src/shutdown.c
+++ b/src/shutdown.c
@@ -29,13 +29,9 @@
#include "extern.h"
#include "ext2_mnt.h"
-#if defined __GLIBC__
#include <sys/quota.h>
#include <sys/swap.h>
#include <sys/reboot.h>
-#else /* __GLIBC__ */
-#include <linux/quota.h>
-#endif /* __GLIBC__ */
#include <unistd.h>
--
2.34.1

View File

@@ -0,0 +1,10 @@
config BR2_PACKAGE_WATCHDOG
bool "watchdog"
depends on BR2_USE_MMU
help
Watchdog is a daemon that periodically pets a watchdog device
if the configured system status checks pass. If they do not,
the daemon may execute repair commands, shutdown the system or
reboot it.
https://sourceforge.net/projects/watchdog/

View File

@@ -0,0 +1,3 @@
# Locally computed
sha256 b8e7c070e1b72aee2663bdc13b5cc39f76c9232669cfbb1ac0adc7275a3b019d watchdog-5.16.tar.gz
sha256 af7f3f94e85080204b37f7c53717a2c94c6b54d7fa516ebd74e008cb4c0391bd COPYING

View File

@@ -0,0 +1,16 @@
################################################################################
#
# watchdog
#
################################################################################
WATCHDOG_VERSION = 5.16
WATCHDOG_SITE = http://downloads.sourceforge.net/sourceforge/watchdog
WATCHDOG_SELINUX_MODULES = watchdog
WATCHDOG_LICENSE = GPL-2.0+
WATCHDOG_LICENSE_FILES = COPYING
# By default installs binaries in /usr/sbin/, but we want them in
# /sbin/ so that they fall at the same place as Busybox counterparts
WATCHDOG_CONF_OPTS = --sbindir=/sbin
$(eval $(autotools-package))