[node-patches] Change in ovirt-node[master]: edit-node: fix some cmds to work

mburns at redhat.com mburns at redhat.com
Mon Jun 24 18:40:50 UTC 2013


Michael Burns has submitted this change and it was merged.

Change subject: edit-node: fix some cmds to work
......................................................................


edit-node: fix some cmds to work

Previously the follow cmds didn't work when
creating post-image processing manifests:
cmd = "LC_ALL=C rpm -qa --qf '%{name}-%{version}-%{release}.'" + \
            "'%{arch} (%{SIGPGP:pgpsig})\n' | sort -u > /manifest-" + \
            "%s-%s-rpm.txt" % (timestamp, pkg)
cmd = "LC_ALL=C rpm -qa --qf '%%{sourcerpm}\n' | sort -u > " + \
            "/manifest-%s-%s-srpm.txt" % (timestamp, pkg)
cmd = "LC_ALL=C rpm -qa --qf '%%{license}\n' | sort -u > " + \
            "/manifest-%s-%s-license.txt" % (timestamp, pkg)
cmd = "rpm -q %s --qf '%%{version}-%%{release}.%%{arch}\n'" \
                  % pkg
cmd = "LC_ALL=C rpm -q %s --qf '%%{INSTALLTIME:date}\n'" \
                  % pkg

Now they can work.

Signed-off-by: hadong <hadong0720 at gmail.com>
Change-Id: Ic8160c9590a3309700a11c6ba2ae1c77b9861641
---
M tools/edit-node
1 file changed, 11 insertions(+), 6 deletions(-)

Approvals:
  Michael Burns: Verified; Looks good to me, approved


-- 
To view, visit http://gerrit.ovirt.org/15369
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic8160c9590a3309700a11c6ba2ae1c77b9861641
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: hadong <hadong0720 at gmail.com>
Gerrit-Reviewer: Joey Boggs <jboggs at redhat.com>
Gerrit-Reviewer: Michael Burns <mburns at redhat.com>
Gerrit-Reviewer: hadong <hadong0720 at gmail.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the node-patches mailing list