#!/bin/sh set -e chown -h -R 0:0 /home/chenyf/F1C100S/buildroot-2023.02.3/output/build/buildroot-fs/tar/target /home/chenyf/F1C100S/buildroot-2023.02.3/output/host/bin/makedevs -d /home/chenyf/F1C100S/buildroot-2023.02.3/output/build/buildroot-fs/full_devices_table.txt /home/chenyf/F1C100S/buildroot-2023.02.3/output/build/buildroot-fs/tar/target rm -rf /home/chenyf/F1C100S/buildroot-2023.02.3/output/build/buildroot-fs/tar/target/usr/lib/udev/hwdb.d/ /home/chenyf/F1C100S/buildroot-2023.02.3/output/build/buildroot-fs/tar/target/etc/udev/hwdb.d/ find /home/chenyf/F1C100S/buildroot-2023.02.3/output/build/buildroot-fs/tar/target/run/ -mindepth 1 -prune -print0 | xargs -0r rm -rf -- find /home/chenyf/F1C100S/buildroot-2023.02.3/output/build/buildroot-fs/tar/target/tmp/ -mindepth 1 -prune -print0 | xargs -0r rm -rf -- (cd /home/chenyf/F1C100S/buildroot-2023.02.3/output/build/buildroot-fs/tar/target; find -print0 | LC_ALL=C sort -z | tar --pax-option=exthdr.name=%d/PaxHeaders/%f,atime:=0,ctime:=0 -cf /home/chenyf/F1C100S/buildroot-2023.02.3/output/images/rootfs.tar --null --xattrs-include='*' --no-recursion -T - --numeric-owner)