diff --git a/010_nosh.sh b/010_nosh.sh index 4e70886..813ba19 100644 --- a/010_nosh.sh +++ b/010_nosh.sh @@ -1,50 +1,93 @@ +## Setting init in grub can use the pre-exiting init system +# init=/lib/sysvinit/init +# init=/lib/systemd/systemd + +echo "deb http://Debian-repository.JdeBP.info./ stable main" > /etc/apt/sources.list-available/nosh.list +ln -s /etc/apt/sources.list-available/nosh.list /etc/apt/sources.list.d/nosh.list +#curl "http://Debian-repository.JdeBP.info./repository_signing_key.pub" > /usr/share/keyrings/jdebp-debian-repository.gpg +curl "https://JdeBP.EU./Repository/debian/repository_signing_key.pub" > /usr/share/keyrings/jdebp-debian-repository.gpg + + +apt-get update + ## https://jdebp.eu/Softwares/nosh/debian-binary-packages.html # Documentation -apt-get install -y nosh-guide_1.37_amd64.deb +apt-get install -y nosh-guide + +apt-get install -y \ + nosh-exec \ + nosh-service-management \ + nosh-terminal-management \ + nosh-systemv-shims + +apt-get install -y \ + nosh-run-system-manager \ + nosh-run-local-syslog \ + nosh-run-klog \ + nosh-run-udev \ + nosh-run-user-vt + #nosh-run-kernel-vt \ + +redo -C /etc/system-control/convert/ all ## Toolsets -# (exec, nosh, and the chain-loading utilities) -apt-get install -y nosh-exec_1.37_amd64.deb -# (system-manager, service-manager, system-control, service-control and related utilities) -apt-get install -y nosh-service-management_1.37_amd64.deb -# (console-terminal-emulator, vc-get-tty, pty-get-tty, ttylogin-starter and related utilities) -apt-get install -y nosh-terminal-management_1.37_amd64.deb -# (ptybandage, ptyrun and related utilities) -apt-get install -y nosh-terminal-extras_1.37_amd64.deb -# (tcpserver shim) -apt-get install -y nosh-ucspi-tcp-shims_1.37_amd64.deb -# (Z Shell completions for the toolsets) -apt-get install -y nosh-zsh-completion_1.37_amd64.deb -# (systemd and servicectl shims for systemd compatibility) -apt-get install -y nosh-systemd-shims_1.37_amd64.deb -# (halt, reboot, poweroff, telinit, chkconfig, and related shims for old-style System 5/BSD compatibility) -apt-get install -y nosh-systemv-shims_1.37_amd64.deb -# (start, stop, initctl, and related shims for upstart compatibility) -apt-get install -y nosh-upstart-shims_1.37_amd64.deb -# (service shim for old-style System 5/BSD compatibility) -apt-get install -y nosh-service-command-shim_1.37_amd64.deb -# (invoke-rc.d and update-rc.d shims for Debian compatibility) -apt-get install -y nosh-debian-shims_1.37_amd64.deb -# (fasthalt, fastboot, and fastpoweroff shims for BSD compatibility) -apt-get install -y nosh-bsd-shims_1.37_amd64.deb -# (rcctl and and related shims for OpenBSD compatibility) -apt-get install -y nosh-openbsd-shims_1.37_amd64.deb -# (utx and and related shims for FreeBSD compatibility) -apt-get install -y nosh-freebsd-shims_1.37_amd64.deb -# (resizecons, clear_console, and chvt shims for compatibility with the old kbd package) -apt-get install -y nosh-kbd-shims_1.37_amd64.deb +## (exec, nosh, and the chain-loading utilities) +#apt-get install -y nosh-exec + +## (system-manager, service-manager, system-control, service-control and related utilities) +#apt-get install -y nosh-service-management + +## (console-terminal-emulator, vc-get-tty, pty-get-tty, ttylogin-starter and related utilities) +#apt-get install -y nosh-terminal-management + +## (ptybandage, ptyrun and related utilities) +apt-get install -y nosh-terminal-extras + +## (tcpserver shim) +apt-get install -y nosh-ucspi-tcp-shims + +## (Z Shell completions for the toolsets) +apt-get install -y nosh-zsh-completion + +## (systemd and servicectl shims for systemd compatibility) +#apt-get install -y nosh-systemd-shims + +## (halt, reboot, poweroff, telinit, chkconfig, and related shims for old-style System 5/BSD compatibility) +apt-get install -y nosh-systemv-shims + +## (service shim for old-style System 5/BSD compatibility) +apt-get install -y nosh-service-command-shim + +## (start, stop, initctl, and related shims for upstart compatibility) +#apt-get install -y nosh-upstart-shims + +## (invoke-rc.d and update-rc.d shims for Debian compatibility) +apt-get install -y nosh-debian-shims + +## (fasthalt, fastboot, and fastpoweroff shims for BSD compatibility) +#apt-get install -y nosh-bsd-shims + +## (rcctl and and related shims for OpenBSD compatibility) +#apt-get install -y nosh-openbsd-shims + +## (utx and and related shims for FreeBSD compatibility) +#apt-get install -y nosh-freebsd-shims + +## (resizecons, clear_console, and chvt shims for compatibility with the old kbd package) +apt-get install -y nosh-kbd-shims ## Service bundles -apt-get install -y nosh-bundles_1.37_amd64.deb +apt-get install -y nosh-bundles -## system-manager as process #1 -apt-get install -y nosh-run-system-manager_1.37_amd64.deb +## system-manager as process #1 (removes nosh-run-via-systemd) +#apt-get install -y nosh-run-system-manager ## Base services # includes virecover and Debian cron. -apt-get install -y nosh-run-debian-server-base_1.37_amd64.deb +apt-get install -y nosh-run-debian-server-base + # CUPS, anacron, and Sun RPC. #apt-get install -y nosh-run-debian-desktop-base_1.37_amd64.deb @@ -77,36 +120,39 @@ sed -i -e s"|${SERVICE_HELPER_OLD}|${SERVICE_HELPER_NEW}|" ${DBUS_HOME}/system.c ## Plug and play device managers -# (vdev) +## (vdev) #apt-get install nosh-run-vdev_1.37_amd64.deb (vdev) -# (systemd's udev) -apt-get install -y nosh-run-udev_1.37_amd64.deb -# (busybox mdev) -#apt-get install nosh-run-busybox-mdev_1.37_amd64.deb -# (suckless mdev) -#apt-get install nosh-run-suckless-mdev_1.37_amd64.deb + +## (systemd's udev) +#apt-get install -y nosh-run-udev + +## (busybox mdev) +#apt-get install nosh-run-busybox-mdev + +## (suckless mdev) +#apt-get install nosh-run-suckless-mdev ## Virtual terminal services -# (old-style kernel virtual terminals) -#apt-get install -y nosh-run-kernel-vt_1.37_amd64.deb -# (a new-style application-mode virtual terminal) -apt-get install -y nosh-run-user-vt_1.37_amd64.deb +## (old-style kernel virtual terminals) +#apt-get install -y nosh-run-kernel-vt + +## (a new-style application-mode virtual terminal) +#apt-get install -y nosh-run-user-vt ## Freedesktop.org "kit" services # (Freedesktop.org "kit" services — packagekit, consolekit, policykit, NetworkManager, ModemManager et al.) -#apt-get install -y nosh-run-freedesktop-kits_1.37_amd64.deb +#apt-get install -y nosh-run-freedesktop-kits ## VirtualBox Guest Additions -apt-get install -y nosh-run-virtualbox-guest_1.37_amd64.deb +#apt-get install -y nosh-run-virtualbox-guest ## kernel log service - -apt-get install -y nosh-run-klog_1.37_amd64.deb +#apt-get install -y nosh-run-klog ## local syslog() service # old-style logging service to programs that still use /dev/log. -apt-get install -y nosh-run-local-syslog_1.37_amd64.deb +#apt-get install -y nosh-run-local-syslog # Index of ftp://repository.jdebp.info./debian/dists/stable/main/binary-amd64/ #