This repository was archived by the owner on Jan 2, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +76
-0
lines changed Expand file tree Collapse file tree 4 files changed +76
-0
lines changed Original file line number Diff line number Diff line change 1+ sudo : required
2+ dist : trusty
3+ group : deprecated-2017Q4
4+ language : bash
5+ before_script :
6+ - sudo apt-get update -qq
7+ - sudo apt-get install aria2 zip unzip check xz-utils
8+ script :
9+ - source ./env.sh
10+ - " ${DLR} ${ROOTFS_URL_CENTOS} -o ${ROOTFS_FN_CENTOS}"
11+ - " ${DLR} ${LNCR_URL} -o ${LNCR_ZIP}"
12+ - echo ${ROOTFS_URL_CENTOS}
13+ - pwd
14+ - ls -lh
15+ - unzip ${LNCR_ZIP} ${LNCR_FN_CENTOS}
16+ - mkdir rootfs
17+ - sudo tar -Jxpf ${ROOTFS_FN_CENTOS} -C rootfs
18+ - cd rootfs
19+ - sudo tar -zcpf ../rootfs.tar.gz *
20+ - sudo chown `id -un` ../rootfs.tar.gz
21+ - cd ..
22+ - mkdir out
23+ - mv -f ${LNCR_FN_CENTOS} ./out/
24+ - mv -f rootfs.tar.gz ./out/
25+ - cd out
26+ - zip CentOS-${ROOTFS_VER_CENTOS}.zip *
27+ - cd ..
28+ - pwd && ls -lh
29+ notifications :
30+ email : false
31+ deploy :
32+ provider : releases
33+ api_key :
34+ secure : KX3QbcGrxpe1EDe7pAdodmC35UgskEN8dBwv1sQgriNghqSx7/Ed6E5N+Lb1pqxlWIO6dU174wAHS+xk1jnsyyAPU233fFvs/YtubkanH7tyKIB8cowWxLo4LJjxFsRKIi/zPqmvfR6Su1AmotgEsLTv3TwrE7oPxZCkThBNin0R8LPDbdl+dtwrMlk16fIzmAegysJ8+4UWY8ab1+0g8RXyseh9QUVpVaqLU1l1bxb86SYl/HnXgvniAzpri20Sz2wNy+GEzgGOvPa/gDC22oN563Cpnqh2mOFzjmFv0jM9FcibJlFYEiowD6uhHEkNU0peyWIBtK7BX+cYtshnjtuWm1FsUL5HaaxwhS1OzyLFjCVfn6uIn3yKdDCZt3rgr2gfleEtcPmsDm5RIeeXlBodEHXqUVaioHOK2eMCtqdUnYJfzJ1PGUzh091HZ6F2NfCTUfzc4uX2Peal4SlH5tR+aCokSdX8fsCdCvENi8EGFe3zbiy751S2Aos1bbOAYpymoFHWnw5VJX6JMH0b1hKF3GdjeJe0lor1Vf6wkjVifdaIMlj+Jhdmw1tv23hg1IdzLgZa+7dgOh4v59uLf78JeK8fhMBH1rC0RD+0r6LYzNJsNxQXQ65SlUH0PsYwVKpdvYcl/rJjSFsEzs+IznJHLmbbxCoxMBgM7tvTbuY=
35+ file : out/CentOS-${ROOTFS_VER_CENTOS}.zip
36+ skip_cleanup : true
37+ on :
38+ repo : fbigun/WSL-Distro-Rootfs
39+ tags : true
40+ all_branches : true
Original file line number Diff line number Diff line change 1+ # rootfs.tar.gz tarball available for the [ WSL-DistroLauncher] ( https://github.com/yuk7/WSL-DistroLauncher ) project
2+
3+ [ ![ Build Status] ( https://travis-ci.org/fbigun/WSL-Distro-Rootfs.svg?branch=master )] ( https://travis-ci.org/fbigun/WSL-Distro-Rootfs )
4+
5+ Rootfs based on the official dockerhub image.
6+
7+ - [ CentOS] ( https://github.com/CentOS/sig-cloud-instance-images )
Original file line number Diff line number Diff line change 1+ # [ WSL-DistroLauncher] ( https://github.com/yuk7/WSL-DistroLauncher ) 项目可用的 rootfs.tar.gz tarball
2+
3+ [ ![ Build Status] ( https://travis-ci.org/fbigun/WSL-Distro-Rootfs.svg?branch=master )] ( https://travis-ci.org/fbigun/WSL-Distro-Rootfs )
4+
5+ 基于 docker 镜像来制作的 rootfs。
6+
7+ - [ CentOS] ( https://github.com/CentOS/sig-cloud-instance-images )
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ ROOTFS_VER_CENTOS=" 7.5.1804"
4+ ROOTFS_FN_CENTOS=" centos-7-docker.tar.xz"
5+ ROOTFS_URL_CENTOS=" https://github.com/CentOS/sig-cloud-instance-images/raw/CentOS-${ROOTFS_VER_CENTOS} /docker/${ROOTFS_FN_CENTOS} "
6+
7+ LNCR_BLD=" 18062100"
8+ LNCR_ZIP=" icons.zip"
9+ LNCR_FN_CENTOS=" CentOS.exe"
10+ LNCR_URL=" https://github.com/yuk7/WSL-DistroLauncher/releases/download/${LNCR_BLD} /${LNCR_ZIP} "
11+
12+ if type curl > /dev/null 2>&1 ; then
13+ DLR=" curl"
14+ fi
15+ if type wget > /dev/null 2>&1 ; then
16+ DLR=" wget"
17+ fi
18+ if type aria2c > /dev/null 2>&1 ; then
19+ DLR=" aria2c -x4"
20+ fi
21+
22+
You can’t perform that action at this time.
0 commit comments