FS#71389 - [cryptsetup] mkinitcpio output command of found when use sd-encrypt HOOKS

Attached to Project: Arch Linux
Opened by Akatsuki Rui (akiirui) - Tuesday, 29 June 2021, 02:00 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 29 June 2021, 06:32 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

mkinitcpio output command not found when use sd-encrypt HOOKS.

See https://github.com/archlinux/svntogit-packages/blob/packages/cryptsetup/trunk/install-sd-encrypt

https://github.com/archlinux/svntogit-packages/blob/packages/cryptsetup/trunk/install-sd-encrypt#L17-L20
https://github.com/archlinux/svntogit-packages/blob/packages/cryptsetup/trunk/install-sd-encrypt#L27-L28

These lines are relative path, should change these to absolute path.

Additional info:
* package version(s)
- cryptsetup 2.3.6-1

Steps to reproduce:

Add sd-encrypt into /etc/mkinitcpio.conf HOOKS

# mkinitcpio -P

/usr/lib/initcpio/install/sd-encrypt: line 17: add_udev_rule: command not found
/usr/lib/initcpio/install/sd-encrypt: line 18: add_udev_rule: command not found
/usr/lib/initcpio/install/sd-encrypt: line 19: add_udev_rule: command not found
/usr/lib/initcpio/install/sd-encrypt: line 20: add_udev_rule: command not found
/usr/lib/initcpio/install/sd-encrypt: line 21: add_udev_rule: command not found
/usr/lib/initcpio/install/sd-encrypt: line 23: add_systemd_unit: command not found
/usr/lib/initcpio/install/sd-encrypt: line 27: add_systemd_unit: command not found
/usr/lib/initcpio/install/sd-encrypt: line 28: add_systemd_unit: command not found
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 29 June 2021, 06:32 GMT
Reason for closing:  None
Additional comments about closing:  user comment: Wrong details

Loading...