Skip to content

Commit d069dad

Browse files
release
1 parent c17f208 commit d069dad

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

README.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ what is the mkinitcpio hook entry provided by this package?
6060
* minimum required hooks are: `base systemd systemd-tool`
6161
* recommended hooks are: `base systemd autodetect modconf block filesystems keyboard systemd-tool`
6262

63-
where can I find stable version of mkinitcpio-systemd-tool?
64-
* use releases https://github.com/random-archer/mkinitcpio-systemd-tool/releases
65-
6663
how can I enable my custom service unit in initrd?
6764
* add `[Unit]` entry `ConditionPathExists=/etc/initrd-release`
6865

@@ -118,7 +115,7 @@ which ssh user keys are used by initramfs sshd server?
118115
### Shell Script Questions and Answers
119116

120117
there is a `initrd-shell.sh` script provided, what does it do?
121-
* it used as both interactive login shell and as a systemd service
118+
* it is used as both interactive login shell and as a systemd service
122119
* when crypto disks are present, it acts as password agent
123120
* when in ssh console, it offers simple interactive menu
124121
* when in systemd service mode, it acts as service
@@ -127,11 +124,24 @@ how can I review `initrd-shell.sh` actions during last boot?
127124
* use `journalctl -b -t shell`
128125

129126
what does `CTRL-C` do to `initrd-shell.sh` in different modes?
130-
* while in `ssh console`, it will start a menu form `initrd-shell.sh`
131-
* while in `/dev/tty debug console`, it will exit from `initrd-shell.sh`
132-
* while in `/dev/console login console`, it will restart the `initrd-shell.sh` service
127+
* `initrd-shell.sh` provides appropriate reaction to interrupt, depending on the context
128+
* while in `ssh` terminal password agent prompt, it will start a menu form `initrd-shell.sh`
129+
* while in `/dev/tty` local debug console, it will exit from `initrd-shell.sh`
130+
* while in `/dev/console` password agent prompt, it will restart the `initrd-shell.sh` service
133131

134132
is there a silent or no-echo mode during password entry in `initrd-shell.sh`?
135133
* there are two ways to enter silent mode (see `systemd-ask-password.c`):
136134
* either by pressing `BACKSPACE` as first key or by pressing `TAB` at any time
137135
* then the prompt will show extra text: `(no echo)`
136+
137+
### Package Build Questions and Answers
138+
139+
how can I install a development version of this?
140+
```
141+
mkdir -p /tmp/aur
142+
cd /tmp/aur
143+
git clone https://aur.archlinux.org/mkinitcpio-systemd-tool.git
144+
cd mkinitcpio-systemd-tool
145+
touch .PKGDEV
146+
makepkg --syncdeps --install --noconfirm --needed
147+
```

0 commit comments

Comments
 (0)