GithubHelp home page GithubHelp logo

tastytea / hashboot Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 4.0 142 KB

[mirror] Check integrity of files in /boot

Home Page: https://schlomp.space/tastytea/hashboot

License: Other

Shell 100.00%
boot mbr checksum backup

hashboot's People

Contributors

tastytea avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hashboot's Issues

AUR Package

Hello, I'm sure you've noticed I've made a few PRs for Arch instructions. I'm interested in becoming the maintainer for a hashboot package on the Arch User Repository, and pretty much everything works so far. I'll need two things from you, however.

First, you'll have to convert the hashboot.1.adoc asciidoc file to a man page with the command a2x -f manpage hashboot.1.adoc. It will output the file hashboot.1 in the root of the repository. This is a proper manpage and works correctly when installed. I found the build_manpage.sh file, added the proper make dependecy (the asciidoc package), and made the PKGBUILD run build_manpage.sh before installing. You no longer need to add this to the repository.

Secondly, you'll have to include a pacman hook file; the PKGBUILD I've written assumes it will be named 99-hashboot.hook in the root of the repository.

The pacman hook file should contain the following content, as per the Arch instructions I've already submitted:

[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *

[Action]
Description = Regenerating hashboot checksums...
When = PostTransaction
Exec = /usr/bin/hashboot index
Depends = hashboot

You can look at the two files necessary (a PKGBUILD and hashboot.install file) I've written here: https://gitlab.com/krathalan/hashboot-aur

If you wish to change the location of any files, please let me know and I will update accordingly. I'd like to cooperate with you and make any changes to the package that you request -- or if you'd rather me not publish a package, I'm okay with that too. However, I would very much like to and would be committed to publishing further updates and working with you to resolve issues when necessary.

Edit: Update hook with "Depends" line

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.