From 604b182af5485b0134fbe750948eba57f385d709 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Sat, 28 Jun 2014 00:35:50 -0300 Subject: [archiso] Rename root-image to airootfs Two purposes: * systemd filename friendly: "-" is used for "/" and must be escaped with "\x20" * ISO9660 filename friendly: "-" is replaced with "_" --- archiso/mkarchiso | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'archiso') diff --git a/archiso/mkarchiso b/archiso/mkarchiso index 9655167..26a82ee 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -51,14 +51,14 @@ _chroot_init() { if [[ -f "${work_dir}/mkarchiso.init" ]]; then _msg_info "Initial enviroment already installed, skipping." else - mkdir -p ${work_dir}/root-image + mkdir -p ${work_dir}/airootfs _pacman "base syslinux" : > "${work_dir}/mkarchiso.init" fi } _chroot_run() { - eval arch-chroot ${work_dir}/root-image "${run_cmd}" + eval arch-chroot ${work_dir}/airootfs "${run_cmd}" } # Mount a filesystem (trap signals in case of error for unmounting it @@ -116,7 +116,7 @@ _usage () echo "usage ${app_name} [options] command " echo " general options:" echo " -p PACKAGE(S) Package(s) to install, can be used multiple times" - echo " -r Run inside root-image" + echo " -r Run inside airootfs" echo " -C Config file for pacman." echo " Default: '${pacman_conf}'" echo " -L