diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-10-31 15:58:21 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-10-31 15:58:21 +0100 |
commit | 239c27736b256ee999577deeaf480a100117ccca (patch) | |
tree | d15ac2c991fcc968035917ac63b2b223d92897aa /src/profiles | |
parent | 87ae3a5d9ad48831a91f6e49e82cd2f5e94fc549 (diff) |
implemented install_packages + some fixes
Diffstat (limited to 'src/profiles')
-rw-r--r-- | src/profiles/profile-base | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/profiles/profile-base b/src/profiles/profile-base index e1e4df1..914898a 100644 --- a/src/profiles/profile-base +++ b/src/profiles/profile-base @@ -3,8 +3,9 @@ var_DEFAULTFS="/boot:32:ext2:+ swap:256:swap /:7500:ext3 /home:*:ext3" var_DESTDIR="/mnt" var_RUNTIME_PACKAGES= - - +var_PKG_SOURCE_TYPE='cd' +var_FILE_URL="file:///src/core/pkg" +var_MIRRORLIST="/etc/pacman.d/mirrorlist" ###### Phases ( can be overridden by more specific profiles) ###### @@ -40,7 +41,7 @@ worker_runtime_packages () { for pkg in $var_RUNTIME_PACKAGES do - pacman -Sy --noconfirm --needed $pkg + $PACMAN -Sy --noconfirm --needed $pkg done } @@ -61,8 +62,9 @@ worker_package_list () worker_install_packages () { - #TODO: installation of the packages - echo "No actions specified" + target_special_fs on + $PACMAN_TARGET -Sy $PKGLIST || die_error "Package installation FAILED." + target_special_fs off } |