Changeset 1290 for llx-pool-tools


Ignore:
Timestamp:
Apr 27, 2016, 1:25:20 PM (4 years ago)
Author:
hectorgh
Message:

adding some xenial scripts

Location:
llx-pool-tools/trunk/fuentes/install-files/usr/share/llx-pool/actions/xenial
Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • llx-pool-tools/trunk/fuentes/install-files/usr/share/llx-pool/actions/xenial/package-list-update-frozen.sh

    r1283 r1290  
    4848# Copy sources-list files
    4949
    50 cp $PATH_TO_CHROOT/sources.list.frozen $AMD64_CHROOT/etc/apt/sources.list
    51 cp $PATH_TO_CHROOT/sources.list.frozen $I386_CHROOT/etc/apt/sources.list
     50cp $CHROOT_BASE/sources.list.frozen $AMD64_CHROOT/etc/apt/sources.list
     51cp $CHROOT_BASE/sources.list.frozen $I386_CHROOT/etc/apt/sources.list
    5252
    53 cp $PATH_TO_CHROOT/debian-installer.frozen $AMD64_CHROOT/etc/apt/sources.list.d/debian-installer.list
    54 cp $PATH_TO_CHROOT/debian-installer.frozen $I386_CHROOT/etc/apt/sources.list.d/debian-installer.list
     53cp $CHROOT_BASE/debian-installer.frozen $AMD64_CHROOT/etc/apt/sources.list.d/debian-installer.list
     54cp $CHROOT_BASE/debian-installer.frozen $I386_CHROOT/etc/apt/sources.list.d/debian-installer.list
    5555
    5656# Mount ubuntu-mirror
     
    109109echo "****  SHOWING DIFFERENCIES (If empty, there are no changes)"
    110110echo "[AMD64]"
    111 diff -Nuar ${LLX_XENIAL_MIRROR}/conf/amd64.txt ${AMD64_CHROOT}/${PACKAGE_LIST}
     111diff -Nuar ${LLX_PREXENIAL_MIRROR}/conf/amd64.txt ${AMD64_CHROOT}/${PACKAGE_LIST}
    112112
    113113echo "[FROZEN AMD64]"
    114 diff -Nuar ${LLX_XENIAL_MIRROR}/conf/amd64-frozen.txt ${AMD64_CHROOT}/${PACKAGE_LIST}.frozen
     114diff -Nuar ${LLX_PREXENIAL_MIRROR}/conf/amd64-frozen.txt ${AMD64_CHROOT}/${PACKAGE_LIST}.frozen
    115115
    116116echo ""
     
    119119
    120120echo "[i386]"
    121 diff -Nuar ${LLX_XENIAL_MIRROR}/conf/amd64.txt ${I386_CHROOT}/${PACKAGE_LIST}
     121diff -Nuar ${LLX_PREXENIAL_MIRROR}/conf/i386.txt ${I386_CHROOT}/${PACKAGE_LIST}
    122122
    123 echo "[FROZEN i38664]"
    124 diff -Nuar ${LLX_XENIAL_MIRROR}/conf/i386-frozen.txt ${I386_CHROOT}/${PACKAGE_LIST}.frozen
     123echo "[FROZEN i386]"
     124diff -Nuar ${LLX_PREXENIAL_MIRROR}/conf/i386-frozen.txt ${I386_CHROOT}/${PACKAGE_LIST}.frozen
    125125
    126126echo ""
     
    134134read x
    135135if [ "$x" = "y" ]; then
    136     cp ${I386_CHROOT}/${PACKAGE_LIST} ${LLX_PREXENIAL}/conf/i386.txt
    137     cp ${AMD64_CHROOT}/${PACKAGE_LIST} ${LLX_PREXENIAL}/conf/amd64.txt
     136    cp ${I386_CHROOT}/${PACKAGE_LIST} ${LLX_PREXENIAL_MIRROR}/conf/i386.txt
     137    cp ${AMD64_CHROOT}/${PACKAGE_LIST} ${LLX_PREXENIAL_MIRROR}/conf/amd64.txt
    138138   
    139     cp ${I386_CHROOT}/${PACKAGE_LIST}.frozen ${LLX_PREXENIAL}/conf/i386-frozen.txt
    140     cp ${AMD64_CHROOT}/${PACKAGE_LIST}.frozen ${LLX_PREXENIAL}/conf/amd64-frozen.txt
     139    cp ${I386_CHROOT}/${PACKAGE_LIST}.frozen ${LLX_PREXENIAL_MIRROR}/conf/i386-frozen.txt
     140    cp ${AMD64_CHROOT}/${PACKAGE_LIST}.frozen ${LLX_PREXENIAL_MIRROR}/conf/amd64-frozen.txt
    141141   
    142142   
     
    149149if [ "$x" = "y" ]; then
    150150   
    151     cp ${I386_CHROOT}/${PACKAGE_LIST} ${LLX_XENIAL}/conf/i386.txt
    152     cp ${AMD64_CHROOT}/${PACKAGE_LIST} ${LLX_XENIAL}/conf/amd64.txt
     151    cp ${I386_CHROOT}/${PACKAGE_LIST} ${LLX_XENIAL_MIRROR}/conf/i386.txt
     152    cp ${AMD64_CHROOT}/${PACKAGE_LIST} ${LLX_XENIAL_MIRROR}/conf/amd64.txt
    153153   
    154     cp ${I386_CHROOT}/${PACKAGE_LIST}.frozen ${LLX_XENIAL}/conf/i386-frozen.txt
    155     cp ${AMD64_CHROOT}/${PACKAGE_LIST}.frozen ${LLX_XENIAL}/conf/amd64-frozen.txt
     154    cp ${I386_CHROOT}/${PACKAGE_LIST}.frozen ${LLX_XENIAL_MIRROR}/conf/i386-frozen.txt
     155    cp ${AMD64_CHROOT}/${PACKAGE_LIST}.frozen ${LLX_XENIAL_MIRROR}/conf/amd64-frozen.txt
    156156   
    157157else
     
    159159fi
    160160
     161
Note: See TracChangeset for help on using the changeset viewer.