123456789101112131415161718192021222324252627 |
- pkgname = "u-boot-menu"
- pkgver = "0.1"
- pkgrel = 0
- depends = ["base-kernel"]
- pkgdesc = "Common U-Boot boot menu generator for device targets"
- maintainer = "q66 <q66@chimera-linux.org>"
- license = "custom:meta"
- url = "https://chimera-linux.org"
- # no tests
- options = ["!check"]
- def do_install(self):
- # generator itself
- self.install_bin(
- self.files_path / "update-u-boot.sh", name = "update-u-boot"
- )
- # installer
- self.install_bin(
- self.files_path / "install-u-boot.sh", name = "install-u-boot"
- )
- # config file
- self.install_file(self.files_path / "u-boot", "etc/default")
- # kernel hook
- self.install_file(
- self.files_path / "99-gen-uboot.sh", "etc/kernel.d", mode = 0o755
- )
|