Commit d07d6987 authored by Alessandro Elias's avatar Alessandro Elias

Merge branch 'issue/494' into 'develop'

SCRUM#494: Add script to generate local repository

See merge request !9
parents dd04c33a 96b0fb30
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Origin: C3SL
Label: C3sl Live
Codename: stable
Version: 0.1
Date: Tue, 17 Apr 2018 12:59:48 UTC
Architectures: i386 amd64
Components: main
Description: Repo description
MD5Sum:
ad4c3dea484507b7f69a7cad6d1a0f4a 863 main/binary-i386/Packages
580eb20a7556b20cbb57d8bc3398b1fe 563 main/binary-i386/Packages.gz
3a348141227d398d8cb214416197a882 108 main/binary-i386/Release
4e1e4ba5afba8499771f25e86fea3f6d 8865 main/binary-amd64/Packages
c1933adcc324edf03f766a3b4c261549 3714 main/binary-amd64/Packages.gz
3affbc31384297df1e1279986ce28007 109 main/binary-amd64/Release
SHA1:
e1c964de85403d9c22f5cfdb17558eed44ed8c7f 863 main/binary-i386/Packages
10440b62da8c65d73ed1d7e2e2fd9515a9afb9a6 563 main/binary-i386/Packages.gz
e0e5d1477e0df155f2cd01f3fff88e1a98839c68 108 main/binary-i386/Release
4b44b4b8400690839055292beb18ab208e906212 8865 main/binary-amd64/Packages
c765efb61a4ecb01fc491b75d69c20b17f5c0ea0 3714 main/binary-amd64/Packages.gz
62ddebf7fa4462f1b6ea0be48ecd52f5bee8c3d1 109 main/binary-amd64/Release
SHA256:
bb49044dfc65e7fd93249d2a20ef1d955f190c10b0e41443b9eb5091345fd550 863 main/binary-i386/Packages
2a42cfead0a4019837a53b827a5003559312aa915da31b5560fab99646d687c7 563 main/binary-i386/Packages.gz
35855f210c1697a52697c0a6e50e7185105cc05aee39c7ac87b3fc10b0144d93 108 main/binary-i386/Release
130716aeb079b026f2d4c46574aab4ed44067ac8e6a7a99c59b98c86e3b782fe 8865 main/binary-amd64/Packages
f890aa6769e3db0927cd187d8141dd3cdf67339aa06f7dd413c7d7a7a71873ab 3714 main/binary-amd64/Packages.gz
4c25045f26f6fd6a5d535a2e9b5d2547ec346a6ec25fe4e96076cf255777c294 109 main/binary-amd64/Release
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEETdRjWpCaP5m9xNDhq27UWrj/iCIFAlrV78QACgkQq27UWrj/
iCIIWAf/QtKcrt+PxD1BD3k+g2F2UmZfpVb3gJ6fz+22Tv1NLj9fa/rnpYqastSu
Gocec4QNG7ph+NKRcosPF45txXeL/jPUUSNuS+Dgy7CdQFklQLKDAspui9AJNQCG
iTdaE/X9nmCUiuoRMwQ1MTkJQJCK2RnUfB5Z5rU1EwaJW4b2rcvC37P6jsWhnYOw
Ys6HB+2jfMq7DBlDj80JxCjh0Lkr2YrkaRLd57HwOg8M4c8Me8lRdhUIS0DW6EoX
kyeAJt8Dy0qo+xWMDEqDvH2oHHpXtLJfcu2FAZE6DJjkkbTN4kVNZs+V9VIpBIrN
Fs706O/XhGD2+mNuBHqKGCjFwhNd6g==
=0Tw9
-----END PGP SIGNATURE-----
Origin: C3SL
Label: C3sl Live
Codename: stable
Version: 0.1
Date: Tue, 17 Apr 2018 12:59:48 UTC
Architectures: i386 amd64
Components: main
Description: Repo description
MD5Sum:
ad4c3dea484507b7f69a7cad6d1a0f4a 863 main/binary-i386/Packages
580eb20a7556b20cbb57d8bc3398b1fe 563 main/binary-i386/Packages.gz
3a348141227d398d8cb214416197a882 108 main/binary-i386/Release
4e1e4ba5afba8499771f25e86fea3f6d 8865 main/binary-amd64/Packages
c1933adcc324edf03f766a3b4c261549 3714 main/binary-amd64/Packages.gz
3affbc31384297df1e1279986ce28007 109 main/binary-amd64/Release
SHA1:
e1c964de85403d9c22f5cfdb17558eed44ed8c7f 863 main/binary-i386/Packages
10440b62da8c65d73ed1d7e2e2fd9515a9afb9a6 563 main/binary-i386/Packages.gz
e0e5d1477e0df155f2cd01f3fff88e1a98839c68 108 main/binary-i386/Release
4b44b4b8400690839055292beb18ab208e906212 8865 main/binary-amd64/Packages
c765efb61a4ecb01fc491b75d69c20b17f5c0ea0 3714 main/binary-amd64/Packages.gz
62ddebf7fa4462f1b6ea0be48ecd52f5bee8c3d1 109 main/binary-amd64/Release
SHA256:
bb49044dfc65e7fd93249d2a20ef1d955f190c10b0e41443b9eb5091345fd550 863 main/binary-i386/Packages
2a42cfead0a4019837a53b827a5003559312aa915da31b5560fab99646d687c7 563 main/binary-i386/Packages.gz
35855f210c1697a52697c0a6e50e7185105cc05aee39c7ac87b3fc10b0144d93 108 main/binary-i386/Release
130716aeb079b026f2d4c46574aab4ed44067ac8e6a7a99c59b98c86e3b782fe 8865 main/binary-amd64/Packages
f890aa6769e3db0927cd187d8141dd3cdf67339aa06f7dd413c7d7a7a71873ab 3714 main/binary-amd64/Packages.gz
4c25045f26f6fd6a5d535a2e9b5d2547ec346a6ec25fe4e96076cf255777c294 109 main/binary-amd64/Release
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEETdRjWpCaP5m9xNDhq27UWrj/iCIFAlrV78QACgkQq27UWrj/
iCJWdQgAiqmpV+6/19Im8VJRZMfEjHoYtRxdLv5xPIF4mgrf3fUyO3aDx7A8HEJ8
IplIupHEuItPnxlHxvsqR7w5QMGWzL3/1Od1ZXkO3jw54NU5IoLWy2DI/AxsiBDf
R/DN2wZEEbPGbSqjPSliZZItC579Z063U+0fUYu7QQpZl83NrIOU6KcFpFu/ac42
pefy0kLOKqIxIXvZoRW1rMxxQxa8cfsIAwRqpYNqD0u6Dzatzc3BscwVULRKWnhf
mejDWB8/tqXrONhsh4J8St0dMCECV7GYC9d6hyifVDd7GAmx2OjPRUrs/b9+GYUL
Ice17S6LinAC4wOZG1bJZd6tcv4hQg==
=6Gt/
-----END PGP SIGNATURE-----
Package: compton
Version: 0.1~beta2-1
Architecture: amd64
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Scott Leggett <scott@sl.id.au>
Installed-Size: 253
Depends: libc6 (>= 2.15), libconfig9, libdbus-1-3 (>= 1.1.1), libgl1-mesa-glx | libgl1, libpcre3 (>= 8.10), libx11-6, libxcomposite1 (>= 1:0.3-1), libxdamage1 (>= 1:1.1), libxext6, libxfixes3, libxinerama1, libxrandr2 (>= 4.3), libxrender1
Homepage: https://github.com/chjj/compton
Priority: extra
Section: x11
Filename: pool/main/c/compton/compton_0.1~beta2-1_amd64.deb
Size: 101708
SHA256: 3b072cc04b82b2b2866c955b12ee1596e80fa7f3526c949257d0efc2a2481e4d
SHA1: 906be97aee757de83e57309b473f90974cb53396
MD5sum: 300d47a879b4795f50834a9e9007960f
Description: compositor for X11, based on xcompmgr
compton is a compositor for X11, based on xcompmgr. In addition to shadows,
fading and translucency, compton implements window frame opacity control,
inactive window transparency, and shadows on argb windows.
Package: curl
Version: 7.47.0-1ubuntu2.6
Architecture: amd64
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Installed-Size: 331
Depends: libc6 (>= 2.17), libcurl3-gnutls (= 7.47.0-1ubuntu2.6), zlib1g (>= 1:1.1.4)
Multi-Arch: foreign
Homepage: http://curl.haxx.se
Priority: optional
Section: web
Filename: pool/main/c/curl/curl_7.47.0-1ubuntu2.6_amd64.deb
Size: 139412
SHA256: 4e6a7d335fdd4ac163ba01df3f124facac552be8f154e777f6867a298bbf8f01
SHA1: 8ab24386715640487f92f78ac08696a326184280
MD5sum: 309e799954dba78f4887ffd6ae5c96c1
Description: command line tool for transferring data with URL syntax
curl is a command line tool for transferring data with URL syntax, supporting
DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3,
POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, TELNET and TFTP.
.
curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form
based upload, proxies, cookies, user+password authentication (Basic, Digest,
NTLM, Negotiate, kerberos...), file transfer resume, proxy tunneling and a
busload of other useful tricks.
Original-Maintainer: Alessandro Ghedini <ghedo@debian.org>
Package: le-conf
Version: 0.0.29
Architecture: all
Maintainer: Daniel Bissani Furlin <contato@c3sl.ufpr.br>
Installed-Size: 851
Depends: dconf-gsettings-backend | gsettings-backend, lightdm, adduser, gettext, language-pack-gnome-pt, language-pack-gnome-en, language-pack-gnome-es
Recommends: le-help
Priority: extra
Section: admin
Filename: pool/main/l/le-conf/le-conf_0.0.29_all.deb
Size: 836096
SHA256: 686dabd5a6fc5572ce7f7a510eb52e5d3540f345a2d9860c90a566ae80f7927a
SHA1: 35a625baf82618877ac28a9530b62cc417b8bf24
MD5sum: 33086736220162c0e356ff4e314d1815
Description: Configure Linux Educacional(Educational Linux)
Performs all initial configuration for Linux Educacional,
like create the users Aluno(Student), Professor(Teacher)
and Admin(Admin) being only the last one with root access,
hide grub on boot and change the background of the login
screen;
Package: le-multiterminal
Version: 1.0.0
Architecture: amd64
Maintainer: C3SL <contato@c3sl.ufpr.br>
Installed-Size: 98
Pre-Depends: lightdm
Depends: libc6 (>= 2.15), libcairo2 (>= 1.2.4), libx11-6, curl, xserver-xorg-video-siliconmotion-hwe-16.04, compton, numlockx, xserver-xephyr-hwe-16.04, systemd, policykit-1-gnome, pciutils
Priority: optional
Section: misc
Filename: pool/main/l/le-multiterminal/le-multiterminal_1.0.0_amd64.deb
Size: 16028
SHA256: 3dd321073b20e40119829ba4e969e80f8fd19805112aac8016d305daf27f2a25
SHA1: 3b727f9c413d1a39605169f03b9f73dbbf7e7551
MD5sum: 92b2415e21722f40aab377220bc8a32a
Description: Multiterminal Solution compatible with the system Linux Educational 6
Multi-terminal solution compatible with Linux Educational system 6.
The multi-terminal system configures up to three monitors simultaneously on
the same machine.
The solution relies heavily on the TN-502 video card and the Thinnetworks
Hubs, available on the 83/2008 and 71/2010 sessions of the Brazilian federal
government.
Package: libconfig9
Source: libconfig
Version: 1.5-0.2
Architecture: amd64
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Jonathan McCrohan <jmccrohan@gmail.com>
Installed-Size: 67
Depends: libc6 (>= 2.14)
Multi-Arch: same
Homepage: http://www.hyperrealm.com/libconfig/
Priority: optional
Section: libs
Filename: pool/main/libc/libconfig/libconfig9_1.5-0.2_amd64.deb
Size: 22894
SHA256: 28a2c65ef944b1a6afd6f967567a14a8e42d79c778dc74a45808618908ec5e09
SHA1: d90f14fca3e4b25751016df5130a508e8c6a02d3
MD5sum: 406afcd628c76a026953fa268866a8ad
Description: parsing/manipulation of structured configuration files
This library features a fully reentrant parser and includes bindings for
both the C and C++ programming languages. It runs on modern POSIX-compliant
systems such as Linux, Solaris, and Mac OS X (Darwin), as well as on
Microsoft Windows 2000/XP and later (Visual Studio or MinGW).
.
This library allows parsing, manipulating and writing structured configuration
files.
Package: numlockx
Version: 1.2-7
Architecture: amd64
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Michal Čihař <nijel@debian.org>
Installed-Size: 69
Depends: libc6 (>= 2.4), libx11-6, libxtst6
Suggests: x-display-manager
Enhances: gdm, kdm, wdm, xdm
Homepage: http://home.kde.org/~seli/numlockx/
Priority: optional
Section: x11
Filename: pool/main/n/numlockx/numlockx_1.2-7_amd64.deb
Size: 9084
SHA256: a55740c9ea968b0944f56bfcd05e7c1905632716f9d7925a8e8c2285fcc0debf
SHA1: 182b43f09df24390e02d4ac01cff02fca7ad88ad
MD5sum: 1c226fee091f7e56fa2d975c3275319e
Description: enable NumLock in X11 sessions
Utilities to enable the keyboard's Numeric Lock during X11
session initialization or using command line utility.
.
The package automatically installs session script to enable numlock
on session start.
Package: xserver-xephyr-hwe-16.04
Source: xorg-server-hwe-16.04
Version: 2:1.19.5-0ubuntu2~16.04.1
Architecture: amd64
Maintainer: Ubuntu X-SWAT <ubuntu-x@lists.ubuntu.com>
Installed-Size: 2573
Depends: xserver-common, libaudit1 (>= 1:2.2.1), libbsd0 (>= 0.2.0), libc6 (>= 2.17), libepoxy0 (>= 1.0), libgcrypt20 (>= 1.6.1), libgl1-mesa-glx | libgl1, libpixman-1-0 (>= 0.30.0), libselinux1 (>= 2.0.82), libsystemd0, libudev1 (>= 183), libx11-6, libx11-xcb1, libxau6, libxcb-icccm4 (>= 0.4.1), libxcb-image0 (>= 0.2.1), libxcb-keysyms1 (>= 0.4.0), libxcb-randr0 (>= 1.1), libxcb-render-util0, libxcb-render0, libxcb-shape0, libxcb-shm0, libxcb-util1 (>= 0.4.0), libxcb-xkb1, libxcb-xv0 (>= 1.2), libxcb1 (>= 1.8), libxdmcp6, libxfont2 (>= 1:2.0.1), libxshmfence1
Recommends: libgl1-mesa-dri (>= 7.1~rc1)
Conflicts: xserver-xephyr
Replaces: xserver-xephyr
Provides: xorg-renamed-package, xorg-renamed-package-hwe-16.04, xserver, xserver-xephyr
Homepage: https://www.x.org/
Priority: optional
Section: x11
Filename: pool/main/x/xorg-server-hwe-16.04/xserver-xephyr-hwe-16.04_1.19.5-0ubuntu2~16.04.1_amd64.deb
Size: 918526
SHA256: 0799d1f6cb3c58933f26e17cab50457772df7dab354f54e07610e9809466bc85
SHA1: d8390df74f8333ffc7b019564ee598a1f0447449
MD5sum: ce8fe862059265d1ba355dc69d719d21
Description: nested X server
Xephyr is an X server that can be run inside another X server,
much like Xnest. It is based on the kdrive X server, and as a
result it supports newer extensions than Xnest, including render and
composite.
.
More information about X.Org can be found at:
<URL:https://www.x.org>
.
This package is built from the X.org xserver module.
Original-Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Package: xserver-xorg-video-siliconmotion-hwe-16.04
Version: 1:1.7.9-2ubuntu1~16.04.1
Architecture: amd64
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Installed-Size: 140
Depends: libc6 (>= 2.14), xorg-video-abi-23, xserver-xorg-core-hwe-16.04 (>= 2:1.18.99.901)
Conflicts: xserver-xorg-video-siliconmotion
Replaces: xserver-xorg-video-siliconmotion
Provides: xorg-driver-video, xorg-renamed-package, xorg-renamed-package-hwe-16.04, xserver-xorg-video-siliconmotion
Homepage: https://www.x.org
Priority: optional
Section: x11
Filename: pool/main/x/xserver-xorg-video-siliconmotion-hwe-16.04/xserver-xorg-video-siliconmotion-hwe-16.04_1.7.9-2ubuntu1~16.04.1_amd64.deb
Size: 49184
SHA256: 17f236e6c6c33b1a58909fe45d0d778beb509b4226a9d0ef55761ce519feba07
SHA1: edbc19a2353b352c8dbf167b6f161c7d973f342d
MD5sum: 7c270c044128dce20524fb1c5e57804e
Description: X.Org X server -- SiliconMotion display driver
This package provides the driver for the SiliconMotion Lynx and Cougar family
of chipsets, commonly found in laptops.
.
This package is built from the X.org xf86-video-siliconmotion driver module.
Original-Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Package: le-conf
Version: 0.0.29
Architecture: all
Maintainer: Daniel Bissani Furlin <contato@c3sl.ufpr.br>
Installed-Size: 851
Depends: dconf-gsettings-backend | gsettings-backend, lightdm, adduser, gettext, language-pack-gnome-pt, language-pack-gnome-en, language-pack-gnome-es
Recommends: le-help
Priority: extra
Section: admin
Filename: pool/main/l/le-conf/le-conf_0.0.29_all.deb
Size: 836096
SHA256: 686dabd5a6fc5572ce7f7a510eb52e5d3540f345a2d9860c90a566ae80f7927a
SHA1: 35a625baf82618877ac28a9530b62cc417b8bf24
MD5sum: 33086736220162c0e356ff4e314d1815
Description: Configure Linux Educacional(Educational Linux)
Performs all initial configuration for Linux Educacional,
like create the users Aluno(Student), Professor(Teacher)
and Admin(Admin) being only the last one with root access,
hide grub on boot and change the background of the login
screen;
Version: 0.1
Component: main
Origin: C3SL
Label: C3sl Live
Architecture: i386
Description: Repo description
......@@ -11,6 +11,6 @@ MOUNTLIST=${TMP}/mountlist
OURSOURCESLIST=${PREFIX}/sources-list/${_DIST}/${SHORTNAME}.list
RMDSKT=${PREFIX}/pkg-list/${_DIST}/remove-desktop.list
RMLIST=${PREFIX}/pkg-list/${_DIST}/remove.list
REPOPKGS=${PREFIX}/pkg-list/${_DIST}/repo-local.list
SCRIPTSDIR=${PREFIX}/scripts-enabled/${_DIST}/
SOURCESLISTDEFAULT=${PREFIX}/sources-list/${_DIST}/default.list
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBFqihLQBCADBIL8QUZnkfLApHy2u4WjO7V5y/2iaoxmAtsbAkdR72HRkM5Z+
mA+gNMdmfA+RXQX2iveC9Ekq5+B6NiSPuLhmDWoLU9giLzZuzldeq1ii4HSsIMFW
t1CfO6iYMoB+EJJTNau4MXOLaH9dlNihKKCtTToT6uWUz8f9cwnaimOsB1Gdu8Qo
g90AKKK+pXCjt4h50pzB2iJwE55+2qEwWTXF6dIqiZRuXITA8dYbGYZuTiFODHK+
60O4bxy4WFI58CxvCMHZjierUNmlKpcr6r6lfn+s1EtN6Sa9sDCSQm5ae6xH/YWX
PoLEML/1vCZANOTRZTrDu7ee/GJnkTcxaYT5ABEBAAG0IEMzU0wgTGl2ZSA8Y29u
dGF0b0BjM3NsLnVmcHIuYnI+iQFOBBMBCAA4FiEETdRjWpCaP5m9xNDhq27UWrj/
iCIFAlqihLQCGwMFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AACgkQq27UWrj/iCJU
vwf9HlOqLIY+paiOEPWuI5uX3t6dlghR+WQuWEwphVnSIy11KlEtKHjRAPcZxUaX
VdiM7hMtfMzH5QQogKa3mnTKxyasQ4K1h1Lwj5tXObXbQcYFPhup+Hgu42qf7M4m
DXp7XHd1QEOztBepFwWHHWU+9poNOstoi+c/rpWzDo8hQUYsGMMF2a9oJy0qKjEB
GriiKjMVE6cs7acyG8g0qyDw6kxCX29qAYdZ/Us7eIzcMU2iSC+qHxQCJ8NULkOe
HDI+HhN26HPJXw9/NXuk8trL+3UpEj3nK3SqJiyRcT+uudFFXLPUTDbwCUfLev/h
zc5z1kAgkRnsB9M9HuyRSQiERLkBDQRaooS0AQgAw9e1N1gsAx6rA+HzfWKKGfZq
xXU289675fDh6hwj5Nhfm/dDqhctAJTEFJjY6dVDvrg+/0Y0UG3JsgRHLCBu8ad7
bF2eSatSrXtni6bEpAJcN21Kj6gHklqugdKvl6qv1hQGyYxqXjq92gKg4sz0JGsW
yd1ufKlEXPOVinK6tOw3nY2/KdH8C0E+JsJIbe316YLSasqMEZWTSvoZN95uF7M6
B/wrQX1kC1UBIfJ7q9Qs5yNMnjnbUtIzo9eBRZl95n+yabp6NNSX/zGFaypdpE/l
/RFMHLYL3x7OOREvtXbfVWsjn1J4UzFTVuFxR+tlrip5cmYR2z0x9FzMJkVZ+wAR
AQABiQE2BBgBCAAgFiEETdRjWpCaP5m9xNDhq27UWrj/iCIFAlqihLQCGwwACgkQ
q27UWrj/iCL5/QgAi8C23ASuadB/7An6jVdwI0cFRWxcExBa+pmlzzTORJPhtrPD
LHB+y/hsc3m/Kf557/tHVuxqDa22HhFHVuVFaoqUPqyO3jEvFBqJeefB9Y9nlXrx
c4W0RDS19ov4uwE1CdU40W6yU34sRm3eGxWOc2I072PwLqM7DJhZFlwLo+0JWyce
AqAm6aaUQULNsWr0u+tA7Ns6ZC7nE8aQxLFKjB+DiswxuK/X8SX1RNyt22CQzn4n
Wq93ZGPFap8J9wN4h3iOiiSI8gBeMFLUMdfR1/SoQ7NiQOZnJyGczsnpffTyzlZm
DqdwgqA5dKXz8nRPyreqomYsm380qX12qCDn+Q==
=SYDZ
-----END PGP PUBLIC KEY BLOCK-----
......@@ -78,7 +78,7 @@ sudo apt-get install syslinux squashfs-tools genisoimage xorriso \
for file in $(ls ${SCRIPTSDIR}); do
if [ -x "${SCRIPTSDIR}/${file}" ] && egrep -q '^[0-9]{2}-[a-z-]+' <<< "$file"; then
echo "$file"
if ! "${SCRIPTSDIR}/${file}" ${_DIST} ${_ARCH} ${CHROOTDIR} ${CHROOTFILE} ${DISTRO} ${DPLIST} ${INSTLIST} ${ISOLINUX} ${MOUNTLIST} ${OURSOURCESLIST} ${RMDSKT} ${RMLIST} ${SCRIPTSDIR} ${SHORTNAME} ${SOURCESLISTDEFAULT} ${TMP} ${OVERLAY}; then
if ! "${SCRIPTSDIR}/${file}" ${_DIST} ${_ARCH} ${CHROOTDIR} ${CHROOTFILE} ${DISTRO} ${DPLIST} ${INSTLIST} ${ISOLINUX} ${MOUNTLIST} ${OURSOURCESLIST} ${RMDSKT} ${RMLIST} ${SCRIPTSDIR} ${SHORTNAME} ${SOURCESLISTDEFAULT} ${TMP} ${OVERLAY} ${REPOPKGS}; then
log ERROR "While running \"${SCRIPTSDIR}/${file}\""
fi
fi
......
......@@ -37,6 +37,7 @@ SHORTNAME=${14}
SOURCESLISTDEFAULT=${15}
TMP=${16}
OVERLAY=${17}
REPOPKGS=${18}
PREFIX=$PWD
source ${PREFIX}/common.sh
......
......@@ -37,6 +37,7 @@ SHORTNAME=${14}
SOURCESLISTDEFAULT=${15}
TMP=${16}
OVERLAY=${17}
REPOPKGS=${18}
PREFIX=$PWD
source ${PREFIX}/common.sh
......
#!/usr/bin/env bash
#
# Copyright (C) 2017 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of create-iso
#
# le6-conf is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
# USA.
set -u
set -e
_DIST=$1
_ARCH=$2
CHROOTDIR=$3
CHROOTFILE=$4
DISTRO=$5
DPLIST=$6
INSTLIST=$7
ISOLINUX=$8
MOUNTLIST=$9
OURSOURCESLIST=${10}
RMDSKT=${11}
RMLIST=${12}
SCRIPTSDIR=${13}
SHORTNAME=${14}
SOURCESLISTDEFAULT=${15}
TMP=${16}
OVERLAY=${17}
REPOPKGS=${18}
PREFIX=$PWD
source ${PREFIX}/common.sh
fingerprint=$(gpg --list-keys --with-colons 'C3SL Live' | grep -m 1 'fpr' | cut -d':' -f10)
if test -z ${fingerprint}; then
gpg --batch --no-tty --gen-key ${PREFIX}/src/gpg-key/gen-key-script
fingerprint=$(gpg --list-keys --with-colons 'C3SL Live' | grep -m 1 'fpr' | cut -d':' -f10)
fi
cp -Ra ${PREFIX}/src/local-repository/ ${PREFIX}/repo/
sed -i "s/##ARCH##/ ${_ARCH}/" ${PREFIX}/repo/conf/distributions
sed -i "s/##GPGKEY##/ ${fingerprint}/" ${PREFIX}/repo/conf/distributions
codename=$(grep 'Codename' ${PREFIX}/repo/conf/distributions | cut -d':' -f2)
chroot ${CHROOTDIR} apt-get clean
chroot ${CHROOTDIR} apt-get --download-only --yes install $(cat ${REPOPKGS} | grep -v '^#' | tr '\n' ' ')
reprepro --basedir ${PREFIX}/repo/ includedeb ${codename} ${CHROOTDIR}/var/cache/apt/archives/*.deb
chroot ${CHROOTDIR} apt-get clean
mv repo/{dists,pool} ${TMP}/image/
rm -rf ${PREFIX}/repo/
gpg --armor --export 'C3SL Live' > ${CHROOTDIR}/tmp/public.key
chroot ${CHROOTDIR} apt-key add /tmp/public.key
rm ${CHROOTDIR}/tmp/public.key
exit 0
......@@ -37,6 +37,7 @@ SHORTNAME=${14}
SOURCESLISTDEFAULT=${15}
TMP=${16}
OVERLAY=${17}
REPOPKGS=${18}
PREFIX=$PWD
source ${PREFIX}/common.sh
......
......@@ -37,6 +37,7 @@ SHORTNAME=${14}
SOURCESLISTDEFAULT=${15}
TMP=${16}
OVERLAY=${17}
REPOPKGS=${18}
PREFIX=$PWD
source ${PREFIX}/common.sh
......
......@@ -37,6 +37,7 @@ SHORTNAME=${14}
SOURCESLISTDEFAULT=${15}
TMP=${16}
OVERLAY=${17}
REPOPKGS=${18}
PREFIX=$PWD
source ${PREFIX}/common.sh
......
......@@ -37,6 +37,7 @@ SHORTNAME=${14}
SOURCESLISTDEFAULT=${15}
TMP=${16}
OVERLAY=${17}
REPOPKGS=${18}
PREFIX=$PWD
source common.sh
......
......@@ -37,6 +37,7 @@ SHORTNAME=${14}
SOURCESLISTDEFAULT=${15}
TMP=${16}
OVERLAY=${17}
REPOPKGS=${18}
PREFIX=$PWD
mkdir "${OVERLAY}/upper"
......
......@@ -37,18 +37,9 @@ SHORTNAME=${14}
SOURCESLISTDEFAULT=${15}
TMP=${16}
OVERLAY=${17}
REPOPKGS=${18}
PREFIX=$PWD
source common.sh
# Get .debs needes to install lc-conf, lc-client-all and lc-server-all
mkdir -p ${PREFIX}/packages-needed/
chroot ${CHROOTDIR} apt-get clean
chroot ${CHROOTDIR} apt-get --download-only -y install le-conf
chroot ${CHROOTDIR} apt-get --download-only -y install le-multiterminal
mv ${CHROOTDIR}/var/cache/apt/archives/*.deb ${PREFIX}/packages-needed/
chroot ${CHROOTDIR} apt-get clean
chroot ${CHROOTDIR} apt-get update
cp -a packages-needed ${TMP}/image/
exit 0
......@@ -37,6 +37,7 @@ SHORTNAME=${14}
SOURCESLISTDEFAULT=${15}
TMP=${16}
OVERLAY=${17}
REPOPKGS=${18}
export PREFIX=$PWD
source common.sh
......
......@@ -37,6 +37,7 @@ SHORTNAME=${14}
SOURCESLISTDEFAULT=${15}
TMP=${16}
OVERLAY=${17}
REPOPKGS=${18}
PREFIX=$PWD
source ${PREFIX}/common.sh
......
......@@ -37,6 +37,7 @@ SHORTNAME=${14}
SOURCESLISTDEFAULT=${15}
TMP=${16}
OVERLAY=${17}
REPOPKGS=${18}
PREFIX=$PWD
if test -z ${CHROOTDIR}; then
......@@ -74,10 +75,4 @@ cp src/lsb-release ${CHROOTDIR}/etc/
# Disable apport
sed -i 's/enabled=.*/enabled=0/' ${CHROOTDIR}/etc/default/apport
# Setup CD repository
#wget -xr -np -R "index.html*" --cut-dirs=1 http://repo.c3sl.ufpr.br/le6/dists/
#wget -xr -np -R "index.html*" --cut-dirs=1 http://repo.c3sl.ufpr.br/le6/pool/
#cp -r repo.c3sl.ufpr.br/pool ${TMP}/image/ || exit 1
#cp -r repo.c3sl.ufpr.br/dists ${TMP}/image/ || exit 1
cp -r ${PREFIX}/cdrom-repository/* ${TMP}/image/ || exit 1
exit 0
......@@ -37,6 +37,7 @@ SHORTNAME=${14}
SOURCESLISTDEFAULT=${15}
TMP=${16}
OVERLAY=${17}
REPOPKGS=${18}
PREFIX=$PWD
source ${PREFIX}/common.sh
......
../../../scripts-available/create-local-repository.sh
\ No newline at end of file
Key-Type: 1
Key-Length: 2048
Subkey-Type: 1
Subkey-Length: 2048
Name-Real: C3SL Live
Name-Email: contato@c3sl.ufpr.br
%no-protection
Version: 0.1
Component: main
Origin: C3SL
Label: C3sl Live
Architecture: amd64
Architectures:##ARCH##
Codename: stable
Components: main
Description: Repo description
Version: 0.1
SignWith:##GPGKEY##
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment