Skip to content

Commit

Permalink
Merge pull request #344 from miabbott/el7_pile_o_fixes
Browse files Browse the repository at this point in the history
EL7 compatibility fixes
  • Loading branch information
darkmuggle authored Feb 13, 2019
2 parents 20009cb + 8abc2fc commit 9904aff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cmd-oscontainer
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def oscontainer_extract(containers_storage, src, dest,
if commit is None:
raise SystemExit("Failed to find label '{}'".format(OSCONTAINER_COMMIT_LABEL))
iid = inspect['Id']
print(f"Preparing to extract cid: {iid}")
print("Preparing to extract cid: {}".format(iid))
# We're not actually going to run the container. The main thing `create` does
# then for us is "materialize" the merged rootfs, so we can mount it.
# In theory we shouldn't need --entrypoint=/enoent here, but
Expand Down
8 changes: 6 additions & 2 deletions src/deps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ rpm-ostree createrepo_c openssh-clients
#EL7 yum-utils

# For generating ISO images
genisoimage syslinux-nonlinux
genisoimage
#FEDORA syslinux-nonlinux
#EL7 syslinux

# We expect people to use these explicitly in their repo configurations.
#FEDORA distribution-gpg-keys
Expand All @@ -25,7 +27,9 @@ selinux-policy-targeted rpm-build
make git rpm-build

# virt-install dependencies
libvirt libguestfs-tools qemu-kvm /usr/bin/qemu-img /usr/bin/virsh /usr/bin/virt-install
libvirt libguestfs-tools /usr/bin/qemu-img /usr/bin/virsh /usr/bin/virt-install
#FEDORA qemu-kvm
#EL7 qemu-kvm-rhev

# And we process kickstarts
/usr/bin/ksflatten
Expand Down

0 comments on commit 9904aff

Please sign in to comment.