Is there a recommended way of doing this? Right now I have a
ROOTFS_POSTPROCESS_CMD that moves the directories and symlinks them back,
but I'm not sure if I'm doing it exactly right or if there's something
built-in.

The function just does a bunch of this:
    install -d ${D}/${persist_dir}

    mv ${D}/${ORIG} ${D}/${persist_dir}/${LINKNAME}
    ln -sr ${D}/${persist_dir}/${LINKNAME} ${D}/${ORIG}

-- 
Tim Froehlich
Embedded Linux Engineer
tfroehl...@archsys.io
215-218-8955
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to