kpatch-build: skip initramfs_data.o

ERROR: initramfs_data.o: 2 unsupported section change(s)
initramfs_data.o: changed section .init.ramfs not selected for inclusion
initramfs_data.o: changed section .init.ramfs.info not selected for inclusion
/usr/local/libexec/kpatch/create-diff-object: unreconcilable difference
cmdline.o: changed function: cmdline_proc_show
ERROR: 1 error(s) encountered. Check /root/.kpatch/build.log for more details.
This commit is contained in:
Joe Lawrence 2017-01-20 10:58:54 -05:00
parent 44b03dec65
commit 56708b43d3

View File

@ -580,6 +580,8 @@ for i in $FILES; do
[[ $DISTRO = rhel ]] || [[ $DISTRO = centos ]] || [[ $DISTRO = ol ]] && \
[[ $i = arch/x86/lib/copy_user_64.o ]] && continue
[[ $i = usr/initramfs_data.o ]] && continue
mkdir -p "output/$(dirname $i)"
cd "$OBJDIR"
find_kobj $i