commit | 4ea80ba701fe0548956f7a1c653eb76e6ecb45bb | [log] [tgz] |
---|---|---|
author | June Tate-Gans <jtgans@google.com> | Fri Feb 23 15:58:22 2018 -0800 |
committer | June Tate-Gans <jtgans@google.com> | Fri Feb 23 15:58:22 2018 -0800 |
tree | 38f02a6d00acb3915a810a1b86dffe160b4f1a72 | |
parent | dfec808f46998d5b31bd68409ec690df4a0f1554 [diff] |
permissions: Add a script to correct them post-overlay This adds a script and data file to fixup permissions that are altered during the overlay rsync process. Unfortunately, we can't store these permissions in the git repo, so this script is required. Change-Id: I3f0a09c9395f858c20ae3d323bb7d698db90a25b
From an existing boot filesystem provided by the i.MXn Yocto Linux tree, this makefile and related scripts will create an sdcard.img file which will boot into Debian proper.
This set of scripts currently has the ability to apply a simple overlay to the generated rootfs before creating the sdcard image.
First, install any required packages for the scripts to do their jobs by doing the following at a shell prompt:
host:~/Projects/imx-debian$ make prereqs
This will call out to apt-get
to install any required packages. Once this is done, a simple
host:~/Projects/imx-debian$ make
Will suffice to build the sdcard.img file.
The make mount
target will happily open up the generated sdcard.img file and mount it in the mount
subdirectory. To unmount simply make unmount
.