[UPDATE] - repo change : latest baseos
This commit is contained in:
+5
-2
@@ -61,9 +61,12 @@ function oraclelinux () {
|
||||
test -L /data/repo/OracleLinux/${osversion}/baseos/latest/x86_64 && Action "Delete Old Link" rm /data/repo/OracleLinux/${osversion}/baseos/latest/x86_64
|
||||
|
||||
Action "Create Dir ${osversion}" mkdir -p /data/repo/OracleLinux/${osversion}/baseos/latest
|
||||
RunScreen baseos dnf reposync -g --newest-only --exclude='*.src' -p /data/repo/OracleLinux/${osversion}/baseos/latest --download-metadata --repoid=ol${Majeur}_u${Mineur}_baseos_base
|
||||
RunScreen baseos dnf reposync -g --newest-only --exclude='*.src' -p /data/repo/OracleLinux/${osversion}/baseos/latest --download-metadata --repoid=ol${Majeur}_baseos_latest
|
||||
#RunScreen baseos dnf reposync -g --newest-only --exclude='*.src' -p /data/repo/OracleLinux/${osversion}/baseos/latest --download-metadata --repoid=ol${Majeur}_u${Mineur}_baseos_base
|
||||
Download /data/repo/OracleLinux/${osversion}/baseos baseos
|
||||
Action "Get in ${osversion} baseos" cd /data/repo/OracleLinux/${osversion}/baseos/latest
|
||||
Action "Link SeaNaps environement baseOS" ln -s ol${Majeur}_u${Mineur}_baseos_base x86_64
|
||||
#Action "Link SeaNaps environement baseOS" ln -s ol${Majeur}_u${Mineur}_baseos_base x86_64
|
||||
Action "Link SeaNaps environement baseOS" ln -s ol${Majeur}_baseos_latest x86_64
|
||||
|
||||
|
||||
}
|
||||
|
||||
+7
-5
@@ -12,22 +12,24 @@ usage() {
|
||||
|
||||
RmEnv() {
|
||||
rm -Rf ${Wai}/ESL/.Prefetch/
|
||||
rm -Rf ${Wai}/ESL/ESL_RPMS/.checksum
|
||||
rm -Rf ${Wai}/Workspace/*
|
||||
}
|
||||
|
||||
Wai=/data/cible
|
||||
|
||||
[[ ! -d $Wai ]] && usage
|
||||
[[ ! -d ${Wai}/ESL ]] && usage
|
||||
|
||||
|
||||
cd ${Wai}/ESL/GenELMU/
|
||||
source ${Wai}/ESL/setenv.sh
|
||||
#cd ${Wai}/ESL/GenELMU/
|
||||
#source ${Wai}/ESL/setenv.sh
|
||||
|
||||
[[ $1 == "del" ]] && RmEnv
|
||||
#[[ $1 == "del" ]] && RmEnv
|
||||
RmEnv
|
||||
|
||||
[[ "$ESL_PROJECT" != "ESL" ]] && ProductElemu="i"
|
||||
|
||||
yes | ./ESL_Gen_ELMUs.sh -p${ProductElemu}
|
||||
#yes | ./ESL_Gen_ELMUs.sh -p${ProductElemu}
|
||||
|
||||
cd ${Wai}/ESL/GenOS/
|
||||
./ESL_Generate.sh
|
||||
|
||||
Reference in New Issue
Block a user