diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-04-17 15:40:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-04-17 15:40:10 +0100 |
commit | a4be9a729a445055e6777cf517b2bba04d073094 (patch) | |
tree | 9f18e4d824e45942a1e4c647adb861833a7e027c /libvasile-kogaion | |
parent | 791c1b2b7ef03116770f6bc514bc6af9861c7f0f (diff) |
try to move some functions to helper scripts
Diffstat (limited to 'libvasile-kogaion')
-rwxr-xr-x | libvasile-kogaion | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libvasile-kogaion b/libvasile-kogaion index 47b1510..59baf9c 100755 --- a/libvasile-kogaion +++ b/libvasile-kogaion @@ -95,9 +95,7 @@ chrootbuildsystem () { echo "injecting "$releasename" buildsystem && setting up portage" echo "" sleep 1 - for cmd in "$chrootbuildgit" "$chrootportageconfig" "$chrootmakeconf" "$chrootprofile" "$chrootenvupdate" ; do - chroot "$overlaydir" su - "$chrootuser" -c "$cmd" - done + chroot "$overlaydir" su - "$chrootuser" -c "$chrootbuildgit" } chrootbuild () { @@ -165,9 +163,7 @@ isobuildsystem () { echo "injecting "$releasename" buildsystem && setting up portage" echo "" sleep 1 - for cmd in "$isobuildgit" "$isoportageconfig" "$isomakeconf" "$isoprofile" "$isoenvupdate" ; do - chroot "$isosyncdir" su - "$isouser" -c "$cmd" - done + chroot "$isosyncdir" su - "$isouser" -c "$isobuildgit" } isoramfs () { |