Files
vasilito 45e086558e fix: boot process improvements — dependency cycle, INIT_NOTIFY, probing loop, and log spam fixes
- Fix P15-8-init-cycle-detection.patch: replace visiting+error with seen+silent-skip
  to eliminate 11 false-positive 'dependency cycle detected' errors on shared deps
- Fix P0-daemon-fix-init-notify-unwrap.patch: remove eprintln! for missing
  INIT_NOTIFY (expected for oneshot_async services, ~7 daemons affected)
- Fix driver-manager hotplug loop: add PERMANENTLY_SKIPPED static set shared
  between hotplug handler and DriverConfig::probe() to stop infinite re-probing
  of Fatal/NotSupported/deferred-exhausted device+driver pairs (e.g. ided)
- Fix driver-manager log_timeline: suppress repeated EPIPE/ENOENT errors with
  AtomicI32 dedup and AtomicBool one-shot guards for boot timeline JSON
- Add driver-manager SIGTERM handler, ACPI bus registration, --status mode,
  driver reap loop, graceful shutdown, and reduced deferred retries (30→3)
2026-05-17 12:34:02 +03:00

68 lines
1.4 KiB
Diff

diff --git a/src/subshell/common.c b/src/subshell/common.c
--- a/src/subshell/common.c
+++ b/src/subshell/common.c
@@ -95,6 +95,45 @@
#endif
#endif /* HAVE_OPENPTY */
+#ifdef __redox__
+static int
+mc_posix_openpt (int flags)
+{
+ (void) flags;
+ errno = ENOSYS;
+ return -1;
+}
+
+static int
+mc_grantpt (int fd)
+{
+ (void) fd;
+ errno = ENOSYS;
+ return -1;
+}
+
+static int
+mc_unlockpt (int fd)
+{
+ (void) fd;
+ errno = ENOSYS;
+ return -1;
+}
+
+static char *
+mc_ptsname (int fd)
+{
+ (void) fd;
+ errno = ENOSYS;
+ return NULL;
+}
+
+#define posix_openpt mc_posix_openpt
+#define grantpt mc_grantpt
+#define unlockpt mc_unlockpt
+#define ptsname mc_ptsname
+#endif
+
#include "lib/global.h"
#include "lib/fileloc.h"
diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -24408,10 +24408,10 @@
fi
if test -z "$ac_list_mounted_fs"; then
- as_fn_error $? "could not determine how to read list of mounted file systems" "$LINENO" 5
- # FIXME -- no need to abort building the whole package
- # Can't build mountlist.c or anything that needs its functions
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: could not determine how to read list of mounted file systems" >&5
+printf "%s\n" "$as_me: WARNING: could not determine how to read list of mounted file systems" >&2; }
+ ac_list_mounted_fs=missing
fi
if test $ac_list_mounted_fs = found; then
gl_cv_list_mounted_fs=yes