Hi all,
I am building a buildroot rootfs image using flex-builder. What I have noticed that post-image scripts create a copy of /build/rfs/rootfs_lsdk2108_buildroot_tiny_arm64/target directory inside /build/rfs/rootfs_lsdk2108_buildroot_tiny_arm64/build/buildroot-fs/tar and runs fakeroot changes which are creating device nodes etc and this is all packaged into /build/rfs/rootfs_lsdk2108_buildroot_tiny_arm64/images/rootfs.tar.
This process is then repeated for various formats rootfs.ubifs, rootfs.cpio etc, which are all zipped in /build/rfs/rootfs_lsdk2108_buildroot_tiny_arm64/images/ directory.
Now for every other format, which is not tgz, post-image changes are copied with configs/buildroot/post-image.sh script into /home/anuz/dev/flex/build/images. However tgz is done a bit differently.
This line in tools/flex-builder script
cd $RFSDIR && sudo tar czf $FBOUTDIR/images/$tarballname *
takes the image from target directory before any changes from post-image stuff and creates a tgz image without those changes.
Only way I see to override this behaviour is changing this particular line in flex-builder stuff to take root.tar and not use unchanged target directory. Does anyone have any other solution to this, potentially which doens't change flex-builder script.
There is no such file /board/freescale/ls1046axxx/user_tables.txt in flex-builder or the target board.
Would you please explain more?