Skip to content

Fix kpatch-build failure with srpm on centos#490

Merged
sjenning merged 1 commit intodynup:masterfrom
kragniz:centos-kernel-package
Jun 2, 2015
Merged

Fix kpatch-build failure with srpm on centos#490
sjenning merged 1 commit intodynup:masterfrom
kragniz:centos-kernel-package

Conversation

@kragniz
Copy link
Contributor

@kragniz kragniz commented May 31, 2015

kpatch-build was failing on centos7 with

mv: cannot stat '/home/vagrant/rpmbuild/BUILD/kernel-*/linux-3.10.0-229.el7.x86_64': No such file or directory

in the error log. This was due to the actual directory being named
linux-3.10.0-229.el7.centos.x86_64. This patch avoids this failure by
adding a wildcard before the arch.

Signed-off-by: Louis Taylor [email protected]

kpatch-build was failing on centos7 with

    mv: cannot stat '/home/vagrant/rpmbuild/BUILD/kernel-*/linux-3.10.0-229.el7.x86_64': No such file or directory

in the error log. This was due to the actual directory being named
linux-3.10.0-229.el7.centos.x86_64. This patch avoids this failure by
adding a wildcard before the arch.

Signed-off-by: Louis Taylor <[email protected]>
kragniz added a commit to centos-livepatching/test-machine that referenced this pull request May 31, 2015
Clone from the centos-kernel-package branch of kragniz/kpatch until
dynup/kpatch#490 is merged or fixed otherwise.
Without this patch builds fail.
@jpoimboe
Copy link
Member

jpoimboe commented Jun 2, 2015

Thanks @kragniz!

👍

sjenning added a commit that referenced this pull request Jun 2, 2015
Fix kpatch-build failure with srpm on centos
@sjenning sjenning merged commit a90e3a8 into dynup:master Jun 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants