Skip to content
Snippets Groups Projects
Verified Commit e6d606e9 authored by Lars Frost's avatar Lars Frost
Browse files

Start documenting assemble_image.sh

parent 8fec76f3
No related branches found
No related tags found
No related merge requests found
......@@ -13,10 +13,13 @@ REGULAR_USER_HOME=$(getent passwd "$REGULAR_USER" | cut -d: -f6)
ISO_PROFILES_REPO="$REGULAR_USER_HOME/iso-profiles"
PROFILE="$ISO_PROFILES_REPO/osak/lip"
# prepare workspace
rm -rf "$ISO_PROFILES_REPO"
rm -rf "$WORKSPACE"
mkdir "$WORKSPACE"
chmod a+rx "$WORKSPACE"
# configure iso profile
git clone --depth 1 https://gitlab.manjaro.org/profiles-and-settings/iso-profiles.git "$ISO_PROFILES_REPO"
mkdir -p "$PROFILE"
rsync -a --copy-links "$ISO_PROFILES_REPO/manjaro/kde/" "$PROFILE"
......@@ -41,6 +44,12 @@ remove_desktop_package "manjaro-hello"
mkdir -p "$PROFILE/live-overlay/usr/share/grub/cfg"
rsync --recursive grub-cfg/ "$PROFILE/live-overlay/usr/share/grub/cfg"
# At this point we are finished with the profile configuration.
# We now generate the filesystems with `buildiso -x`.
# The resulting filesystems are placed in /var/lib/manjaro-tools/buildiso/lip/x86_64.
# F.e. the live system takes its filesystem from /var/lib/manjaro-tools/buildiso/lip/x86_64/livefs.
# From now on we will configure the iso further by configuring the filesystems directly instead of configuring them through the iso profile.
set +e # buildiso returns a 1 on partial builds
buildiso -p lip -x -k linux515 # build only filesystems, but not the iso
BO="$?"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment