Changeset 922


Ignore:
Timestamp:
Mar 22, 2016, 11:24:47 AM (3 years ago)
Author:
kbut
Message:

add ppa working

Location:
lliurex-maker/trunk/fuentes/new/usr
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-maker/trunk/fuentes/new/usr/bin/lliurex-maker

    r920 r922  
    4141        echo -e "    MIRROR : $MIRROR "
    4242        echo -e "    ARCH : $ARCH "
     43        echo -e "    PPA : $EXTRA_PPAS "
    4344        echo -e "\n\t${GREEN}**********************************${NC}"
    4445}
     
    140141setEnvironment
    141142
     143
     144if [ "${EXTRA_PPAS}" != "" ]; then
     145        EXTRAARGS="${EXTRAARGS} --archives extra-ppas.list"
     146fi
     147
    142148lb config ${EXTRAARGS}
    143149
    144150# Append ppas
    145 echo ${EXTRA_PPAS}
    146151if [ "${EXTRA_PPAS}" != "" ]; then
    147152        addPPA 
    148153fi
     154
    149155
    150156#lb build
  • lliurex-maker/trunk/fuentes/new/usr/share/lliurex-maker/libs/addPPA

    r920 r922  
    11addPPA(){
    22
     3        mkdir -p config/archives/
    34        rm -f config/archives/extra-ppas.list.chroot \
    45              config/archives/extra-ppas.pref.chroot \
    5               config/archives/extra-ppas.key.chroot
     6              config/archives/extra-ppas.key.chroot || true
    67        gpg_tmpdir="$(mktemp -d)"
    78        run_gpg () {
     
    6061                      config/archives/extra-ppas.pref.binary
    6162        fi
    62         lb config --archives extra-ppas.list
    6363}
Note: See TracChangeset for help on using the changeset viewer.