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
2 files changed
tree: 38f02a6d00acb3915a810a1b86dffe160b4f1a72
  1. overlay/
  2. tools/
  3. .gitignore
  4. Makefile
  5. partmap.txt
  6. permissions.txt
  7. README.md
README.md

i.MXn Debian Root Generator

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.

Building

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.

Examining the results

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.