diff options
author | Slack Coder <slackcoder@server.ky> | 2024-05-01 12:12:04 -0500 |
---|---|---|
committer | Slack Coder <slackcoder@server.ky> | 2024-05-01 17:46:01 -0500 |
commit | 01e0d1d94118738db00e55995d471595b6f4ca76 (patch) | |
tree | 1d564d22739fbf206361e7b5b706b7e83760830d | |
parent | 68b09d3e277e54741f869ab998ec4089ead60791 (diff) | |
download | efi-sync-01e0d1d94118738db00e55995d471595b6f4ca76.tar.xz |
README: Add testing section and help new usersv0.2.0
Help users determine if the system is running to their expectations
and help new linux users by being clearer about how efi-sync is
integrated into the system.
-rw-r--r-- | README.md | 34 |
1 files changed, 32 insertions, 2 deletions
@@ -10,8 +10,17 @@ Usage: ./efi-sync {install|watch} ``` -`efi-sync` watches your kernel path for updates. Once one is detected and the -package commands have completed, your EFI will be updated. +`efi-sync watch` watches your kernel path for updates. Your EFI will be updated once +one is detected and the package commands have completed. + +For systems using an initial ram disk (initrd), `efi-sync watch` watches +/lib/modules and /lib/firmware for updates. Your system is assumed to use one +if '/etc/mkinitrd.conf' is present on start. Once changes are detected, the +initrd file is recreated using 'mkinitrd' and with the result installed into +the EFI. + +You will need to manually install the initrd if it was recreated outside of +this program. ## Installation @@ -22,6 +31,8 @@ chown root:root /usr/local/sbin/efi-sync chmod +x /usr/local/sbin/efi-sync ``` +The efi-sync will need to be integrated to start automatically on your system. + ## Configuration The command looks for configuration at /etc/efi-sync.conf. @@ -40,3 +51,22 @@ EFI_INITRD=/boot/efi/Slackware/initrd.gz If you want the initial ram disk updated, ensure /etc/mkinitrd.conf exists and is configured correctly. + +### Testing + +To test everything is working correctly: + +``` +slackpkg -batch=on -default_answer=y upgrade --reinstall kernel-huge + +# You should confirm the recent update with this output. +date -r /boot/efi/EFI/Slackware/vmlinuz +``` + +For initrd updates: +``` +slackpkg -batch=on -default_answer=y upgrade --reinstall kernel-firmware + +# You should confirm the recent update with this output. +date -r /boot/efi/EFI/Slackware/initrd.gz +``` |