integ/grub/grubby/debian/deb_folder/rules
Charles Short a933729a1f debian: Add debian package for grubby
Add new debian package for grubby in order for the ansible
playbooks and puppet modules to complete.

Story: 2009101
Task: 44402

Test Plan
PASS Build Pakcage
PASS Add package to ISO
PASS Boot ISO

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: If7489106cafd8c1283ffdb24c9f14dfe9c480c39
2022-02-04 16:32:22 +00:00

25 lines
733 B
Makefile
Executable File

#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1
%:
dh $@
override_dh_install:
# nothing to be done here
override_dh_auto_install:
mkdir -p $(CURDIR)/debian/grubby/usr/sbin
mkdir -p $(CURDIR)/debian/grubby/usr/share/man/man8
install -m 755 grubby $(CURDIR)/debian/grubby/usr/sbin/grubby
install -m 755 installkernel $(CURDIR)/debian/grubby/usr/sbin/installkernel
install -m 755 new-kernel-pkg $(CURDIR)/debian/grubby/usr/sbin/new-kernel-pkg
cp grubby.8 $(CURDIR)/debian/grubby/usr/share/man/man8
cp new-kernel-pkg.8 $(CURDIR)/debian/grubby/usr/share/man/man8
dh_install
override_dh_auto_test:
# nothing to be done here