commit | 942f6374b121d8333b8d60d6dffa58f35cc8c2b1 | [log] [tgz] |
---|---|---|
author | June Tate-Gans <jtgans@google.com> | Tue May 22 16:27:14 2018 -0700 |
committer | June Tate-Gans <jtgans@google.com> | Tue May 22 23:31:53 2018 +0000 |
tree | 6e08e6bd97d5a05666ddef495e5c0a9172454b03 | |
parent | 3a4200fb7a4f1ca9152337cab8fb0055323fc44b [diff] |
build: Add rootfs to the default target We weren't building the rootfs when we built the default target. This fixes that by adding it to the all target. Change-Id: I11a21b7ba389c5bc2d8f51066b425074c76ad1ef
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
.