1 Star 0 Fork 48

HKGY/libguestfs

forked from src-openEuler/libguestfs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
fix-not-striped.patch 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
wk333 提交于 2022-04-19 15:56 +08:00 . Fix build error
From 77c67d0e597f5408c3d005ef624ef3d417271e0e Mon Sep 17 00:00:00 2001
From: sunguoshuai <sunguoshuai@huawei.com>
Date: Thu, 9 Sep 2021 21:34:40 +0800
Subject: [PATCH] fix not striped
---
appliance/Makefile.am | 1 +
p2v/Makefile.am | 1 +
2 files changed, 2 insertions(+)
diff --git a/appliance/Makefile.am b/appliance/Makefile.am
index fc424b1..3f74636 100644
--- a/appliance/Makefile.am
+++ b/appliance/Makefile.am
@@ -92,6 +92,7 @@ supermin.d/daemon.tar.gz: ../daemon/guestfsd guestfs_shadow.aug
mkdir -p tmp-d$(DAEMON_SUPERMIN_DIR) tmp-d/etc tmp-d/usr/share/guestfs
ln ../daemon/guestfsd tmp-d$(DAEMON_SUPERMIN_DIR)/guestfsd
ln $(srcdir)/guestfs_shadow.aug tmp-d/usr/share/guestfs/guestfs_shadow.aug
+ strip tmp-d/usr/sbin/guestfsd
( cd tmp-d && tar zcf - * ) > $@-t
rm -r tmp-d
mv $@-t $@
diff --git a/p2v/Makefile.am b/p2v/Makefile.am
index 92e2c50..a101d22 100644
--- a/p2v/Makefile.am
+++ b/p2v/Makefile.am
@@ -75,6 +75,7 @@ virtp2vlib_DATA = virt-p2v.xz
virt-p2v.xz: virt-p2v
rm -f $@ $@-t
+ strip $<
xz --best --keep --stdout $< > $@-t
mv $@-t $@
--
2.30.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hkgy/libguestfs.git
git@gitee.com:hkgy/libguestfs.git
hkgy
libguestfs
libguestfs
master

搜索帮助