2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +00:00

Change imgutil packaging and pkglist path

This commit is contained in:
Jarrod Johnson 2021-06-14 16:46:23 -04:00
parent cce2c6d6db
commit 0079e5c437
2 changed files with 3 additions and 2 deletions

View File

@ -19,6 +19,7 @@ images for diskless boot.
mkdir -p opt/confluent/lib/imgutil
mkdir -p opt/confluent/bin
mv imgutil opt/confluent/bin/
chmod a+x opt/confluent/bin/imgutil
mv el8 opt/confluent/lib/imgutil/
%install

View File

@ -73,8 +73,8 @@ class ElHandler(object):
self.oscategory = 'el8'
self.yumargs = []
def add_pkglists(self, profile='default'):
with open(os.path.join(get_mydir('el8'), 'profiles/{}/pkglist'.format(profile)), 'r') as pkglist:
def add_pkglists(self):
with open(os.path.join(get_mydir('el8'), 'pkglist'), 'r') as pkglist:
pkgs = pkglist.read()
pkgs = pkgs.split()
self.yumargs.extend(pkgs)