Git Product home page Git Product logo

dinit-chimera's People

Contributors

q66 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dinit-chimera's Issues

install some files in etc/etc

using cbuild:

$ ./cbuild install main/dinit-chimera
OK: 195 distinct packages available
=> cbuild: updating software in /build/chimera/bldroot container...
=> cbuild: removing autodeps...
OK: 360 MiB in 66 packages
=> dinit-chimera-0.1-r0: building [makefile] for x86_64...
   [runtime] dinit>=0: found (0.12.0-r0)
   [runtime] util-linux>=0: found (2.37.2-r0)
=> dinit-chimera-0.1-r0: running do_fetch hook: 00_sources...
=> dinit-chimera-0.1-r0: running do_extract hook: 00_sources...
=> dinit-chimera-0.1-r0: running init_patch hook: 00_env_pkg_config...
=> dinit-chimera-0.1-r0: running do_patch hook: 00_patches...
=> dinit-chimera-0.1-r0: running pre_configure hook: 02_script_wrapper...
=> dinit-chimera-0.1-r0: running do_build...
Nothing to be done here.
=> dinit-chimera-0.1-r0: skipping check (disabled by template)
=> dinit-chimera-0.1-r0: running do_install...
install -d /destdir/dinit-chimera-0.1/usr/bin
install -d /destdir/dinit-chimera-0.1/usr/share
install -d /destdir/dinit-chimera-0.1/etc
install -d /destdir/dinit-chimera-0.1/usr/share/man/man8
install -d /destdir/dinit-chimera-0.1/etc/etc/dinit.d
install -d /destdir/dinit-chimera-0.1/etc/etc/dinit.d/early-scripts
install -d /destdir/dinit-chimera-0.1/etc/etc/dinit.d/scripts
install -d /destdir/dinit-chimera-0.1/etc/etc/dinit.d/boot.d
touch /destdir/dinit-chimera-0.1/etc/etc/dinit.d/boot.d/.empty
for conf in rc.conf; do  install -m 644 etc/$conf /destdir/dinit-chimera-0.1/etc;  done
...

plausible fix:

@@ -3,7 +3,7 @@
 BINDIR     ?= $(PREFIX)/bin
 DATADIR    ?= $(PREFIX)/share
 MANDIR     ?= $(DATADIR)/man/man8
-DINITDIR   ?= $(SYSCONFDIR)/etc/dinit.d
+DINITDIR   ?= $(SYSCONFDIR)/dinit.d
 
 BIN_PROGRAMS = modules-load

genericize console setup, cryptdisks

These currently rely on Chimera's implementations (which are derived from Debian's implementations). It should be possible to plug these early services into any distro-specific infra.

sysusers.d support

It would be nice to have systemd-style sysusers.d support so that it can be managed with a unit/trigger (and eliminate the need for package post-install hooks in stuff that adds users/groups).

handle late filesystems

Currently no effort is made to mount network/auxiliary filesystems. We should probably have another stage that will run. Some thought will need to go into ordering/making it generic, because in some cases there may be cycles.

more builtin helpers

Some stuff where we currently rely on external binaries, e.g. sysctl, from util-linux, could be replaced with custom special-purpose helpers to eliminate external dependencies.

Shutdown hangs on "stopping remainging crypto disks"

I have two drives in an x86_64 pc, both encrypted with luks2. One is my root, and the other is a second drive mounted on /mnt/extra mounted through fstab, and decrypted with a keyfile specified in crypttab.

Whenever I reboot or shutdown, my pc hangs on "stopping remainging crypto disks". However, if I ummount and luksClose the drive mounted on /mnt/extra, my pc shutsdown properly.

hwclock fallback inconsistent with documentation

When hwclock helper is called without explicit clock type arguments, it falls back to localtime - contrary to what is suggested in documentation

More precisely:

So unless you explicitly set utc inside /etc/hwclock (and doc says misleadingly this is an option, not requirement), you will end up with system time being set assuming hardware clock is localtime, resulting it some confusion and clock not respecting timezone setting or other issues.

Suggestion is either to correct the fallback setting to UTC, or adjust the doc with actual behavior description.

genericize or replace udev handling

Currently we rely on systemd-udev. At very least eudev should be a build-time option, plus possibly options for systems that don't use udev at all.

tmpfiles helper

We currently rely on systemd-tmpfiles for tmpfiles.d handling, but building that is clunky and we'd be better off with an integrated helper.

documentation

All the targets at very least need to be documented (manpages).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.