Skip to content

Latest commit

 

History

History
120 lines (111 loc) · 3.07 KB

pasang reprepro.md

File metadata and controls

120 lines (111 loc) · 3.07 KB

Pasang Reprepro untuk pengembangan

Berikut adalah tutorial untuk membuat repo mengunakan reprepro. Ini dibutuhkan oleh pabrik cd untuk menjahit iso. Ditutorial ini menggunakan distro ubuntu 16.04

Buat user arsipdev
# adduser arsipdev
Pindah user dari root ke arsipdev
$ su - arsipdev
Install BZR
$ sudo apt install bzr
Tarik config reprepro dari bzr
$ bzr branch http://dev.blankonlinux.or.id/browser/infrastruktur/reprepro-config-rani-debian
$ cd reprepro-config-rani-debian/
Edit distributions
$ vim distributions
Isi dengan berikut
Origin: BlankOn
Label: BlankOn
Codename: uluwatu
Suite: tambora
Components: main restricted extras extras-restricted
UDebComponents: main
Architectures: i386 amd64 source
Version: 11.0
Description: BlankOn 11.0 Uluwatu
# XXXXXXXXXX
# Jangan kasih "-" di kolom Update, nanti paket2 khas2 blankon akan dihapus
Update: merge.sid
SignWith: 9120A048
DebIndices: Packages Release . .gz .bz2 tiffany.py
UDebIndices: Packages . .gz .bz2
DscIndices: Sources Release . .gz .bz2 tiffany.py
#Pull: pull.suroboyo pull.suroboyo-updates
Contents: udebs nodebs . .gz
ContentsArchitectures: i386 amd64
ContentsComponents: main restricted extras extras-restricted
ContentsUComponents: main
Log: uluwatu.log
 --type=dsc changelogs
Origin: BlankOn
Label: BlankOn
Codename: uluwatu-updates
Suite: uluwatu-updates
Components: main restricted extras extras-restricted
UDebComponents: main
Architectures: i386 amd64 source
Version: 11.0
Description: BlankOn 11.0 Tambora Updates
Update:
SignWith: 9120A048
DebIndices: Packages Release . .gz .bz2 tiffany.py
UDebIndices: Packages . .gz .bz2
DscIndices: Sources Release . .gz .bz2 tiffany.py
Contents: udebs nodebs . .gz
ContentsArchitectures: i386 amd64
ContentsComponents: main restricted extras extras-restricted
ContentsUComponents: main
Log: uluwatu-updates.log
 --type=dsc changelogs

Origin: BlankOn
Label: BlankOn
Codename: uluwatu-security
Suite: uluwatu-security
Components: main restricted extras extras-restricted
UDebComponents: main
Architectures: i386 amd64 source
Version: 11.0
Description: BlankOn 11.0 Uluwatu Security
Update:
SignWith: 9120A048
DebIndices: Packages Release . .gz .bz2 tiffany.py
UDebIndices: Packages . .gz .bz2
DscIndices: Sources Release . .gz .bz2 tiffany.py
Contents: udebs nodebs . .gz
ContentsArchitectures: i386 amd64
ContentsComponents: main restricted extras extras-restricted
ContentsUComponents: main
Log: uluwatu-security.log
 --type=dsc changelogs
lalu save , kemudian edit pulls
$ vim pulls
isi dengan berikut :
Name: pull.uluwatu
From: tambora

Name: pull.uluwatu
From: tambora-updates

Name: pull.uluwatu-security
From: tambora-security
lalu commit & push
$ bzr commit -m "keterangan commit"
$ bzr push bzr+ssh://[email protected]:2222/bzr/infrastruktur//reprepro-config-rani-debian
update repo
$ reprepro -v -v -v -v update uluwatu