From ee2d3c92abe39facc5daa772814a132e6e8f9a56 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 24 Feb 2019 12:29:59 +0100 Subject: [PATCH] Cleaned up documentation, deleted ebuild. --- INSTALL | 18 --------------- README | 17 -------------- README.md | 30 ++++++++++++------------- TODO | 4 ---- hashboot-9999.ebuild | 53 -------------------------------------------- 5 files changed, 15 insertions(+), 107 deletions(-) delete mode 100644 INSTALL delete mode 100644 README delete mode 100644 TODO delete mode 100644 hashboot-9999.ebuild diff --git a/INSTALL b/INSTALL deleted file mode 100644 index e1862e2..0000000 --- a/INSTALL +++ /dev/null @@ -1,18 +0,0 @@ -* Make hashboot executable -* Place hashboot anywhere in $PATH -* Install the appropriate init script -* If applicable, copy kernel-hook to /etc/kernel/post{inst,rm}.d/zzz-hashboot (make sure it is called after all other hooks) - -VERIFIED TO WORK ON: - * Gentoo (as of 2015/10) - * Arch (as of 2015/10) - -SHOULD WORK ON: - * Systems with systemd init system - * Systems with openrc init system - * Systems with system v init system - -WORKS NOT ON: - * Ubuntu 14.04 (initscript.sysv doesn't interrupt boot process) - * Systems with boot splash (I think) - * Systems with openrc/sysv-init and parallel boot diff --git a/README b/README deleted file mode 100644 index ce91c29..0000000 --- a/README +++ /dev/null @@ -1,17 +0,0 @@ -"THE HUG-WARE LICENSE" (Revision 1): -xo and tastytea wrote these files. As long -as you retain this notice you can do whatever you want with this stuff. If we -meet some day, and you think this stuff is worth it, you can give us a hug. - - -For build instruction see INSTALL. - -Run "hashboot index" to generate checksums and a backup for /boot and MBR -Run "hashboot check" to check /boot and MBR -Run "hashboot recover" to replace corrupted files with the backup - -A backup is per default stored in /var/cache/bootbackup.tar.gz - -You can't use the openrc/sysv init scripts with parallel boot. - -Detailed documentation is in the sourcecode. diff --git a/README.md b/README.md index 754967a..7373e7d 100644 --- a/README.md +++ b/README.md @@ -1,31 +1,31 @@ **hashboot** hashes all files in `/boot` to check them during early boot. It is intended for when you have encrypted the root partition but not the boot -partition. The checksums are stored in `/var/lib/hashboot.digest` and a backup -of the contents of `/boot` is stored in `/var/cache/boot-backup.tar`. If a -checksum doesn't match, you have the option to restore the file from backup. - -# License - "THE HUG-WARE LICENSE" (Revision 1): - xo and tastytea wrote these files. As long - as you retain this notice you can do whatever you want with this stuff. If we - meet some day, and you think this stuff is worth it, you can give us a hug. - +partition. The checksums and a backup of the contents of `/boot` are stored in +`/var/lib/hashboot` by default. If a checksum doesn't match, you have the option +to restore the file from backup. # Install + * Make hashboot executable * Place hashboot anywhere in $PATH * Install the appropriate init script * If applicable, copy kernel-hook to /etc/kernel/post{inst,rm}.d/zzz-hashboot (make sure it is called after all other hooks) -Also see [INSTALL](https://git.tastytea.de/?p=hashboot.git;a=blob_plain;f=INSTALL). - - # Usage + * Run "hashboot index" to generate checksums and a backup for /boot and MBR * Run "hashboot check" to check /boot and MBR * Run "hashboot recover" to replace corrupted files with the backup - # Notes -* A backup is per default stored in /var/cache/bootbackup.tar.gz + * You can't use the openrc/sysv init scripts with parallel boot. + +# License + +```PLAIN +"THE HUG-WARE LICENSE" (Revision 1): +xo and tastytea wrote these files. As long +as you retain this notice you can do whatever you want with this stuff. If we +meet some day, and you think this stuff is worth it, you can give us a hug. +``` diff --git a/TODO b/TODO deleted file mode 100644 index ab67ab0..0000000 --- a/TODO +++ /dev/null @@ -1,4 +0,0 @@ -* Debian package -* Ubuntu package -* Debian and Ubuntu repositories -* Make Ubuntu 14.04 initscript work diff --git a/hashboot-9999.ebuild b/hashboot-9999.ebuild deleted file mode 100644 index 41e2c90..0000000 --- a/hashboot-9999.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -EAPI="4" - -EGIT_REPO_URI="https://github.com/tastytea/hashboot.git" - -inherit eutils git-2 - -DESCRIPTION="Check integrity of files in /boot" -HOMEPAGE="https://git.tastytea.de/?p=hashboot.git" -LICENSE="hug-ware" -SLOT="0" -KEYWORDS="" -IUSE="" - -RDEPEND=" - sys-apps/coreutils - app-arch/tar - sys-apps/findutils - sys-apps/grep - virtual/awk - app-shells/bash - sys-apps/util-linux - sys-apps/diffutils - sys-apps/sed -" -DEPEND="${RDEPEND} -" -PDEPEND=" -" - -src_unpack() { - git-2_src_unpack -} - -src_prepare() { - if grep -q '^rc_parallel="YES"' /etc/rc.conf - then - ewarn "hashboot does not work properly with parallel boot enabled." - fi - - mkdir init - mv initscript.openrc init/hashboot - mv LICENSE HUG-WARE -} - - -src_install() { - dodoc README - insinto /usr/portage/licenses - doins HUG-WARE - - dobin hashboot - doinitd init/hashboot -}