Debian Launchpad ppa

OpenPGP keys

Ref: https://help.ubuntu.com/community/GnuPrivacyGuardHowto

Generating key

gpg --gen-key

์‚ฌ์šฉ์ž ์ •๋ณด๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ํ‚ค๊ฐ€ ์ƒ์„ฑ๋ฉ๋‹ˆ๋‹ค.

...
Real name: Hyeonki Hong
Email address: hhk7734@gmail.com
...
pub rsa3072 2019-09-08 [SC] [expires: 2021-09-07]
XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX YYYY YYYY
uid Hyeonki Hong <hhk7734@gmail.com>
sub rsa3072 2019-09-08 [E] [expires: 2021-09-07]

๋งˆ์ง€๋ง‰ 8์ž๋ฆฌ๋ฅผ ํ‚ค์„œ๋ฒ„๋กœ ๋ณด๋ƒ…๋‹ˆ๋‹ค.

gpg --send-keys --keyserver keyserver.ubuntu.com YYYYYYYY

Importing key

gpg --fingerprint
pub rsa3072 2019-09-08 [SC] [expires: 2021-09-07]
XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX YYYY YYYY
uid Hyeonki Hong <hhk7734@gmail.com>
sub rsa3072 2019-09-08 [E] [expires: 2021-09-07]

https://launchpad.net/ -> your page -> OpenPGP keys

์œ„์˜ public key๋ฅผ ๋ณต์‚ฌํ•œ ํ›„, OpenPGP keys ํŽ˜์ด์ง€์˜ Fingerprint์— ๋ถ™์—ฌ๋„ฃ๊ณ  Import Key ๋ฒ„ํŠผ์„ ๋ˆ„๋ฆ…๋‹ˆ๋‹ค.

Fingerprint: XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX YYYY YYYY

PPA

https://launchpad.net/ -> your page

Create a new PPA ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅด๊ฑฐ๋‚˜, ๊ธฐ์กด PPA๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

Setting processors

Change details์— ๋“ค์–ด๊ฐ€์„œ PPA์— ๋งž๋Š” ํ”„๋กœ์„ธ์„œ๋ฅผ ์„ ํƒ ํ›„ ์ €์žฅํ•ฉ๋‹ˆ๋‹ค.

Import

https://code.launchpad.net/ -> Code -> Import your project

Recipes

Ref: https://help.launchpad.net/Packaging/SourceBuilds/Recipes

https://launchpad.net/ -> your page -> Code [-> View Git repositories]

์ˆ˜์ •ํ•  ๋ ˆํฌ์ง€ํ† ๋ฆฌ๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

Create packaging recipe ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅด๊ฑฐ๋‚˜ ๊ธฐ์กด recipe๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

Edit recipe -> Recipe text

# git-build-recipe format 0.4 deb-version {debversion}~{revtime}
xxx [branch ๋ช…]

Requesting build

Requesting build ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅด๋ฉด Recipe text์™€ ๋ ˆํฌ์ง€ํ† ๋ฆฌ์˜ debian ๋””๋ ‰ํ† ๋ฆฌ๋ฅผ ์ฐธ๊ณ ํ•˜์—ฌ ๋นŒ๋“œ ์š”์ฒญ์„ ํ•˜๊ฒŒ ๋ฉ๋‹ˆ๋‹ค. ์ž‘์—… ์ˆœ์„œ์— ๋”ฐ๋ผ ๋ช‡์‹œ๊ฐ„ ํ›„์— ์ง„ํ–‰๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋นŒ๋“œ๊ฐ€ ๋๋‚˜๋ฉด ๊ฒ€ํ†  ํ›„ ์ž๋™์œผ๋กœ ppa์— ๋“ฑ๋ก๋ฉ๋‹ˆ๋‹ค.

PPA registration

์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด PPA๋ฅผ ๋“ฑ๋กํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

sudo add-apt-repository ppa:<id or team>/<ppa name>

๋“ฑ๋ก ํ›„ ์—…๋ฐ์ดํŠธ๋ฅผ ํ•˜๋ฉด, PPA์— ์žˆ๋Š” ํŒจํ‚ค์ง€๋ฅผ ๋‹ค์šด๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

sudo apt-get update
Last updated on