This commit overhauls the rootfs package to create a regular package
for the root filesystem instead of creating a packaged squashfs. The
release packages then use pkg2sqfs to turn it into a squashfs image.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
- drop the 3 suffix, they contain generic firmware
- rename the "firwmare" package to "vc" as it contains stuff for the
video core
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
- All linux packages generate "linux" and "linux-modules"
- Preference mechanism is used to select the right source package
- Rootfs depends on "linux-modules" to install the selected kernels
modules into the squashfs image
- The release pacakge depends on "linux" to install the appropriate
kernel to the boot partition
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit renames the release packages so they all produce a single
package named "release", creates a preference listing from the
PREFERED_PROVIDER array and lets `pkg buildstrategy` decide what package
to build.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit merges LINUXPKG and RELEASEPKG into a single associative
array named PREFERED_PROVIDER.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
- crt-dev is a dependency of toolchain
- basefiles is a dependency of toolchain
- libstdc++ is (now also) a dependency of toolchain
This commit removes direct build dependencies to the above and replacest
them with dependencies to the toolchain package.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
- initrd can use the handy wrapper script from the rootfs
- we don't need to initialize the overlay dir, the wrapper script does that
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Add root home directory to basefiles, make every package that
touches /etc/skel also provide defaults for root home.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
- move the skeleton setup stuff out of the rootfs package into a
sperate package called "basefiles"
- remove manual unpacking from rootfs, we already have all the dependencies
installed in the toolchain sysroot.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>