Fix release-iso-modification(7) to use modern tail(1) syntax.

Historically tail(1) used `tail -1` style syntax, but this has been
obsoleted by the modern conventional-style `tail -n 1`.
This commit is contained in:
Juhani Krekelä 2021-08-16 21:47:40 +03:00
parent 198c54ed25
commit 89b02af091
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ mkdir -p -m 700 liveconfig/home/alice
mkdir -p -m 700 liveconfig/home/bob
grub-mkpasswd-pbkdf2 | # enter bootloader password
tee /dev/tty |
tail -1 |
tail -n 1 |
sed 's/PBKDF2 hash of your password is //' > liveconfig/etc/grubpw
tix-iso-bootconfig --liveconfig=liveconfig bootconfig
(echo 'insmod password_pbkdf2'