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
This commit is contained in:
Charles Short 2022-02-02 15:59:25 +00:00
parent e5fac7bf46
commit a933729a1f
6 changed files with 97 additions and 0 deletions

View File

@ -0,0 +1,5 @@
grubby (8.4-1) unstable; urgency=medium
* Initial release.
-- Charles Short <charles.short@windriver.com> Wed, 02 Feb 2022 13:30:33 +0000

View File

@ -0,0 +1,16 @@
Source: grubby
Section: admin
Priority: optional
Maintainer: StarlingX Developers <starlingx-dev@lists.starlingx.io>
Build-Depends: debhelper-compat (= 13), libblkid-dev, libpopt-dev
Standards-Version: 4.5.1
Homepage: https://www.github.com/rhboot/grubby
Rules-Requires-Root: no
Package: grubby
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Command line tool for updating bootloader configs
This package provides a grubby compatibility script that manages
BootLoaderSpec files and is meant to be backward compatible with
the previous grubby tool.

View File

@ -0,0 +1,41 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: grubby
Source: https://github.com/rhboot/grubby
Files: *
Copyright: (C) 2007 - 2009 Red Hat, Inc. All rights reserved.
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
Files: debian/*
Copyright: 2022 Wind River
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

View File

@ -0,0 +1,24 @@
#!/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

View File

@ -0,0 +1 @@
3.0 (quilt)

View File

@ -0,0 +1,10 @@
---
debname: grubby
debver: 8.4
dl_path:
name: grubby-8.4.tar.gz
url: https://github.com/rhboot/grubby/archive/66fd06e2346a9f334a4e5d426332e74319f927c2.tar.gz
md5sum: cbe22140baf6569f19c2e6149ea7748b
revision:
dist: $STX_DIST
PKG_GITREVCOUNT: True