Created by: jiazhiguang
fix the issue that /dev is mounted abnormally in the scratch image, and delete the code that mount directories in config.json on the rootfs.