Skip to content

Move hooks and install scripts from cryptsetup to mkinitcpio

Morten Linderud requested to merge foxboron/mkinitcpio:encrypt-hooks into master

Probably needs work.

Command to reproduce this work:

pkgctl repo clone cryptsetup
git-filter-repo --path install-encrypt --path install-sd-encrypt --path hooks-encrypt
git filter-repo \
  --path-rename hooks-encrypt:hook/encrypt \
  --path-rename install-encrypt:install/encrypt \
  --path-rename install-sd-encrypt:install/sd-encrypt
cd ../mkinitcpio
git checkout -b encrypt-hooks
git remote add -f cryptsetup ../cryptsetup
git fetch --all
git merge cryptsetup/main --allow-unrelated-histories

Note for any branch updates you can just cherry-pick changes.

Edited by Morten Linderud

Merge request reports