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

Amend license carry over logic

This commit is contained in:
Jarrod Johnson 2022-04-25 14:02:08 -04:00
parent 71a698f771
commit 4d218757f3

View File

@ -23,14 +23,14 @@ for r in $(cat rpmlist); do
lo=${l#/usr/share/}
mkdir -p licenses/$(dirname $lo)
cp $l $lo
echo $lo >> confluent-genesis-out.spec
echo /opt/confluent/genesis/x86_64/$lo >> confluent-genesis-out.spec
done
done
cp -f /boot/vmlinuz-$(uname -r) boot/kernel
cp /boot/efi/EFI/BOOT/BOOTX64.EFI boot/efi/boot
cp /boot/efi/EFI/centos/grubx64.efi boot/efi/boot/grubx64.efi
mkdir -p ~/rpmbuild/SOURCES/
tar cf ~/rpmbuild/SOURCES/confluent-genesis.tar boot rpmlist
tar cf ~/rpmbuild/SOURCES/confluent-genesis.tar boot rpmlist licenses
rpmbuild -bb confluent-genesis-out.spec
rm -rf /usr/lib/dracut/modules.d/97genesis
popd