commit | 378eff9d3cf2d7a5911bf5d167ada1f0f2b1393b | [log] [tgz] |
---|---|---|
author | June Tate-Gans <jtgans@google.com> | Fri Feb 23 16:57:11 2018 -0800 |
committer | June Tate-Gans <jtgans@google.com> | Fri Feb 23 16:57:11 2018 -0800 |
tree | 0e0bf74c463f9a66af1183605efc78e1386ea75e | |
parent | d3809176070a0d7a9872bc4b6226c49a781cb998 [diff] |
Makefile: fix clean to unmount rootfs dirs Accidentally blew away my /dev tree by doing a `make clean` after the adjustments target blew up. This changes the clean target to do unmounts before it removes the rootfs tree. Change-Id: I307b5da29fa681ce7b2bfa36ab7a0c5a17758567
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
.