Skip to content

Commit

Permalink
fixed required library
Browse files Browse the repository at this point in the history
  • Loading branch information
itsManjeet committed Aug 19, 2024
1 parent b60ccfc commit 0c78ba3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions board/x86_64/post-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ for i in ata_id scsi_id cdrom_id mtd_probe v4l_id libinput-device-group dmi_memo
objdump -p $INITRAMFS_DIR/lib/udev/$i | grep NEEDED | awk '{print $2}' >> $UNSORTED
done

req=$(cat $UNSORTED | sort | uniq)
for lib in $req ; do
objdump -p $TARGET_DIR/lib/$lib | grep NEEDED | awk '{print $2}' >> $UNSORTED
done

for i in $TARGET_DIR/lib/udev/rules.d/*.rules ; do
install -vDm0644 $i -t $INITRAMFS_DIR/lib/udev/rules.d/
done
Expand Down

0 comments on commit 0c78ba3

Please sign in to comment.