Skip to content

iulianbarbu/rootfs-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

This repo stands for utility tools which might help when buidling specific rootfs images. At the moment, this repo contains a bash script which can create rootfs ext4 images based on ubuntu base releases.

Usage create-ubuntu-rootfs.sh

Usage: ./create-ubuntu-rootfs [params]

Mandatory:

-r release - Specify the release name (e.g '-r xenial').
-v - The release version which will be downloaded (e.g '-v 16.04' - coresponds to 'xenial' release).
-s (digit+)(M(egabytes)|G(igabytes)) - Specify the size of the ext4 rootfs image. Minimal size is 200M.

Optional:

-o path - Rootfs image path.
--help
--list-releases - List of the available Ubuntu releases.
--list-release-versions release - List the versions for a specific release (e.g '--list-release-versions xenial').
--cleanup - Removes the Ubuntu base release from '/tmp'.
--reuse-cache - Reuse the base ubuntu archive, without downloading it.
--base-path path - Path of the base ubuntu archive to be used.

Support

This script can create ubuntu based rootfs ext4 images for x86_64 systems. In the near future, support for building ubuntu based rootfs ext4 images for arm will be added.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages