mirror of
https://github.com/dynup/kpatch
synced 2024-12-18 11:24:33 +00:00
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:
parent
44b03dec65
commit
56708b43d3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user