index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2010-04-23 21:33:20 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2010-04-23 21:33:20 -0300 |
commit | de4c11c56c90aec834212cf6ad17ee86389dcb48 (patch) | |
tree | 6559e04bff289ac2b24b80add32e6609dbacd072 | |
parent | 3311f176a0045596959279c7ec44eaedd989aa2c (diff) |
-rwxr-xr-x | archiso2dual/archiso2dual | 23 |
diff --git a/archiso2dual/archiso2dual b/archiso2dual/archiso2dual index 3441f98..b4cd934 100755 --- a/archiso2dual/archiso2dual +++ b/archiso2dual/archiso2dual @@ -224,21 +224,7 @@ do_basic() { do_common_end } -do_split_us() { - do_common_begin - - root_image_extract - - usrshare_copy_from_root_image - usrshare_make_image - - root_image_remove_usrshare - root_image_make_image - - do_common_end -} - -do_split_lm() { +do_split() { do_common_begin root_image_extract @@ -317,9 +303,8 @@ show_help() (default to '${work_dir}')" echo " -T <profile> Type of target image (work is done on root-image.sqfs): basic: join both images, no changes in *.sqfs - split_us: 'basic' + split usr/share/ - split_lm: 'split_us' + split lib/modules/ - purge_us: 'split_us' + prune usr/share/{doc,info,man}/ + split: 'basic' + split usr/share/ and lib/modules/ from / + purge_us: 'split' + prune usr/share/{doc,info,man}/ full: 'purge_us' + prune boot/ usr/include/ usr/src/ (default to '${profile_type}')" echo " -L <label> Set a label for the disk [max 11 chars] @@ -429,7 +414,7 @@ while getopts '3:6:o:T:M:S:L:P:A:yvh' arg; do 6) isofile_x86_64="${OPTARG}" ;; o) imgname="${OPTARG}" ;; T) case "${OPTARG}" in - "basic"|"split_us"|"split_lm"|"purge_us"|"full") profile_type="${OPTARG}" ;; + "basic"|"split"|"purge_us"|"full") profile_type="${OPTARG}" ;; *) echo; echo "*ERROR*: invalid argument in -T option: ${profile_type}"; show_help 1 ;; esac ;; |