Remove github.com references

* Travis and Coveralls badges
* aports: instead of <https://github.com/postmarketOS>, use
  <https://postmarketos.org>
* References to full URLs to issues and pull requests replaced with
  a hash and the number
* grsec check: simplify error message, remove link to github issue
  (nobody is using that anymore anyway)
This commit is contained in:
Oliver Smith 2018-06-30 09:00:48 +02:00
parent 256914c1a0
commit 0854aa1dc4
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
61 changed files with 63 additions and 75 deletions

View File

@ -1,5 +1,5 @@
# pmbootstrap
[**Introduction**](https://postmarketos.org/blog/2017/05/26/intro/) | [**Security Warning**](https://ollieparanoid.github.io/post/security-warning/) | [**Devices**](https://wiki.postmarketos.org/wiki/Devices) | [![travis badge](https://api.travis-ci.org/postmarketOS/pmbootstrap.png?branch=master)](https://travis-ci.org/postmarketOS/pmbootstrap) | [![Coverage Status](https://coveralls.io/repos/github/postmarketOS/pmbootstrap/badge.svg?branch=master)](https://coveralls.io/github/postmarketOS/pmbootstrap?branch=master)
[**Introduction**](https://postmarketos.org/blog/2017/05/26/intro/) | [**Security Warning**](https://ollieparanoid.github.io/post/security-warning/) | [**Devices**](https://wiki.postmarketos.org/wiki/Devices)
Sophisticated chroot/build/flash tool to develop and install [postmarketOS](https://postmarketos.org).

View File

@ -2,7 +2,7 @@ pkgname=device-amazon-thor
pkgver=1
pkgrel=8
pkgdesc="Amazon KFHDX 7inch 2013"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-amazon-thor mkbootimg msm-fb-refresher mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-asus-flo
pkgver=0
pkgrel=12
pkgdesc="Google Nexus 7 2013 flo"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-asus-flo mkbootimg mesa mesa-egl mesa-dri-freedreno"

View File

@ -2,7 +2,7 @@ pkgname=device-asus-grouper
pkgver=1
pkgrel=13
pkgdesc="Asus Nexus 7 2012 Wifi"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-asus-grouper mkbootimg mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-fairphone-fp2
pkgver=1
pkgrel=9
pkgdesc="Fairphone 2"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-fairphone-fp2 mkbootimg mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-htc-ace
pkgver=1
pkgrel=11
pkgdesc="HTC Desire HD"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-htc-ace mkbootimg mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-htc-bravo
pkgver=1
pkgrel=12
pkgdesc="HTC Desire"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-htc-bravo mkbootimg mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-huawei-angler
pkgver=1
pkgrel=12
pkgdesc="Huawei Nexus 6P"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-huawei-angler mkbootimg msm-fb-refresher mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-huawei-y530
pkgver=1
pkgrel=10
pkgdesc="Huawei Ascend Y530"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-huawei-y530 mkbootimg mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-lg-d285
pkgver=1
pkgrel=6
pkgdesc="LG L65"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-lg-d285 mkbootimg msm-fb-refresher mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-lg-d855
pkgver=1
pkgrel=14
pkgdesc="LG G3 International"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-lg-d855 mkbootimg mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-lg-dory
pkgver=1
pkgrel=7
pkgdesc="LG G Watch"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-lg-dory mkbootimg msm-fb-refresher mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-lg-hammerhead
pkgver=2
pkgrel=0
pkgdesc="Google Nexus 5"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-postmarketos-qcom mkbootimg mesa-dri-freedreno ofono"

View File

@ -2,7 +2,7 @@ pkgname=device-lg-lenok
pkgver=1
pkgrel=9
pkgdesc="LG G Watch R"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-lg-lenok mkbootimg mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-lg-mako
pkgver=2
pkgrel=19
pkgdesc="Google Nexus 4"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-lg-mako mkbootimg mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-motorola-osprey
pkgver=1
pkgrel=6
pkgdesc="Motorola Moto G 3rd gen. (2015)"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-motorola-osprey mkbootimg mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-motorola-titan
pkgver=1
pkgrel=26
pkgdesc="Motorola Moto G 2014"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-motorola-titan mkbootimg msm-fb-refresher mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-nokia-n9
pkgver=1
pkgrel=6
pkgdesc="Nokia N9"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-nokia-n9 ofono watchdog-kick"

View File

@ -2,7 +2,7 @@ pkgname=device-nokia-n900
pkgver=2
pkgrel=8
pkgdesc="Nokia N900"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-postmarketos-stable uboot-tools kbd kbd-bkeymaps ofono mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-oneplus-bacon
pkgver=1
pkgrel=12
pkgdesc="OnePlus One"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-oneplus-bacon mkbootimg mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-oneplus-onyx
pkgver=1
pkgrel=6
pkgdesc="OnePlus X"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-oneplus-onyx mkbootimg msm-fb-refresher mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-qemu-aarch64
pkgver=1
pkgrel=13
pkgdesc="Simulated device in qemu with vexpress soc"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
# NOTE: 'pmbootstrap init' allows you to choose the mesa-dri-* package

View File

@ -2,7 +2,7 @@ pkgname=device-qemu-amd64
pkgver=1
pkgrel=18
pkgdesc="Simulated device in qemu with an x86 platform"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
# NOTE: 'pmbootstrap init' allows you to choose the mesa-dri-* package

View File

@ -2,7 +2,7 @@ pkgname=device-qemu-vexpress
pkgver=1
pkgrel=20
pkgdesc="Simulated device in qemu with vexpress soc"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
# NOTE: 'pmbootstrap init' allows you to choose the mesa-dri-* package

View File

@ -2,7 +2,7 @@ pkgname=device-samsung-i9003
pkgver=1
pkgrel=18
pkgdesc="Samsung Galaxy SI SLC"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-samsung-i9003 libsamsung-ipc mkbootimg mesa-dri-swrast"

View File

@ -3,7 +3,7 @@ pkgname=device-samsung-i9070
pkgver=1
pkgrel=23
pkgdesc="Samsung Galaxy S Advance"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-samsung-i9070 mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-samsung-i9100
pkgver=1
pkgrel=20
pkgdesc="Samsung Galaxy SII"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-samsung-i9100 libsamsung-ipc mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-samsung-i9305
pkgver=1
pkgrel=19
pkgdesc="Samsung Galaxy SIII LTE"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-samsung-i9305 mkbootimg mesa-dri-swrast"

View File

@ -3,7 +3,7 @@ pkgname=device-samsung-maguro
pkgver=2
pkgrel=20
pkgdesc="Google Galaxy Nexus (GSM)"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-samsung-maguro mkbootimg mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-samsung-n7100
pkgver=1
pkgrel=15
pkgdesc="Samsung Galaxy Note II (GSM)"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-samsung-n7100 mkbootimg mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-sony-amami
pkgver=2
pkgrel=0
pkgdesc="Sony Xperia Z1 Compact"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base mkbootimg mdss-fb-init-hack mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-sony-aries
pkgver=1
pkgrel=16
pkgdesc="Sony Xperia Z3 Compact"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-sony-aries mkbootimg mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-sony-castor-windy
pkgver=1
pkgrel=13
pkgdesc="Sony Xperia Z2 Tablet WIFI"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base mkbootimg linux-sony-castor-windy mesa-dri-freedreno"

View File

@ -2,7 +2,7 @@ pkgname=device-sony-sirius
pkgver=1
pkgrel=1
pkgdesc="Sony Xperia Z2 device package"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-postmarketos-qcom mkbootimg mesa-dri-freedreno"

View File

@ -2,7 +2,7 @@ pkgname=device-sony-yuga
pkgver=1
pkgrel=10
pkgdesc="Sony Xperia Z"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-sony-yuga mkbootimg mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-t2m-flame
pkgver=1
pkgrel=12
pkgdesc="Mozilla Flame"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-t2m-flame mkbootimg mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=firmware-asus-duma
pkgver=1
pkgrel=1
pkgdesc="Firmware files for ASUS MeMO Pad FHD 10 (asus-duma)"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="proprietary"
depends="wcnss-wlan"

View File

@ -2,7 +2,7 @@ pkgname=firmware-huawei-y530
pkgver=1
pkgrel=1
pkgdesc="Firmware files for Huawei Ascend Y530"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="proprietary"
depends="wcnss-wlan"

View File

@ -2,7 +2,7 @@ pkgname=firmware-lenovo-karate
pkgver=1
pkgrel=0
pkgdesc="Firmware files for Lenovo K6 Power"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="proprietary"
depends="wcnss-wlan"

View File

@ -2,7 +2,7 @@ pkgname=firmware-motorola-titan
pkgver=1
pkgrel=1
pkgdesc="Firmware files for Motorola Moto G 2014 (titan) and Moto G 4G 2013 (peregrine)"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="proprietary"
depends="wcnss-wlan"

View File

@ -2,7 +2,7 @@ pkgname=firmware-samsung-maguro
pkgver=1
pkgrel=0
pkgdesc="Google Galaxy Nexus (GSM) Firmware"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="proprietary"
depends="firmware-aosp-broadcom-wlan"

View File

@ -2,7 +2,7 @@ pkgname=firmware-xiaomi-mido
pkgver=1
pkgrel=1
pkgdesc="Firmware files for Xiaomi Redmi Note 4"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="proprietary"
depends="wcnss-wlan"

View File

@ -2,7 +2,7 @@ pkgname="devicepkg-dev"
pkgver=0.2
pkgrel=0
pkgdesc="Provides default device package functions"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="all"
license="MIT"
source="

View File

@ -4,7 +4,7 @@ pkgname=fbdebug
pkgver=0.2
pkgrel=0
pkgdesc="Framebuffer debugging tool"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="all"
license="GPL2"
makedepends="linux-headers"

View File

@ -2,7 +2,7 @@ pkgname=postmarketos-android-recovery-installer
pkgver=0.1.7
pkgrel=0
pkgdesc="TWRP compatible postmarketOS installer script"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
# multipath-tools: kpartx
depends="busybox-extras lddtree cryptsetup multipath-tools device-mapper parted util-linux zip e2fsprogs tar"
source="build_zip.sh

View File

@ -2,7 +2,7 @@ pkgname=postmarketos-base
pkgver=3
pkgrel=18
pkgdesc="Meta package for minimal postmarketOS base"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="GPL3+"
depends="

View File

@ -2,7 +2,7 @@ pkgname=postmarketos-demos
pkgver=6
pkgrel=0
pkgdesc="Simple touch menu for a few demo programs"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="all"
license="GPL3+"
depends="weston-xwayland dbus"

View File

@ -2,7 +2,7 @@ pkgname=postmarketos-mkinitfs-hook-debug-shell
pkgver=0.1.1
pkgrel=2
pkgdesc="Root shell in the initramfs (security hole, for debugging only)"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
depends="postmarketos-mkinitfs fbdebug evtest linuxconsoletools"
source="20-debug-shell.sh 20-debug-shell.files"
arch="noarch"

View File

@ -2,7 +2,7 @@ pkgname=postmarketos-mkinitfs-hook-maximum-attention
pkgver=0.1.0
pkgrel=0
pkgdesc="Script to activate all user-visible outputs from the initramfs (to confirm working kernel, for debugging only)"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
depends="postmarketos-mkinitfs"
source="00-maximum-attention.sh"
arch="noarch"

View File

@ -2,7 +2,7 @@ pkgname=postmarketos-mkinitfs
pkgver=0.6.6
pkgrel=1
pkgdesc="Tool to generate initramfs images for postmarketOS"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
# multipath-tools: kpartx
depends="busybox-extras lddtree cryptsetup kmod multipath-tools postmarketos-splash
device-mapper parted e2fsprogs e2fsprogs-extra osk-sdl charging-sdl triggerhappy"

View File

@ -2,7 +2,7 @@ pkgname=postmarketos-ui-hildon
pkgver=1
pkgrel=4
pkgdesc="(X11) Lightweight GTK+2 UI (optimized for single-touch touchscreens)"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="GPL3+"
depends="

View File

@ -2,7 +2,7 @@ pkgname=postmarketos-ui-weston
pkgver=4
pkgrel=4
pkgdesc="(Wayland) Reference compositor (demo, not a phone interface)"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="GPL3+"
depends="weston-clients weston weston-shell-desktop weston-backend-fbdev

View File

@ -2,7 +2,7 @@ pkgname=postmarketos-update-kernel
pkgver=0.0.3
pkgrel=0
pkgdesc="kernel updater script for postmarketOS"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
depends="util-linux"
source="update-kernel.sh"
arch="noarch"

View File

@ -2,7 +2,7 @@ pkgname=watchdog-kick
pkgver=0.1
pkgrel=0
pkgdesc="Periodically kich watchdogs"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="GPL2"
install="$pkgname.post-install"

View File

@ -26,7 +26,7 @@ def qemu_workaround_aarch64(args, suffix="buildroot_aarch64"):
from the archives it generates in some cases. We build a patched abuild-tar,
which avoids the bug.
https://github.com/postmarketOS/pmbootstrap/issues/546
https://gitlab.com/postmarketOS/pmbootstrap/issues/546
"""
pkgname = "abuild-aarch64-qemu-workaround"
pmb.build.package(args, pkgname, "aarch64", True,

View File

@ -66,7 +66,7 @@ defaults = {
"hostname": "",
# A higher value is typically desired, but this can lead to VERY long open
# times on slower devices due to host systems being MUCH faster than the
# target device: <https://github.com/postmarketOS/pmbootstrap/issues/429>
# target device (see issue #429).
"iter_time": "200",
"jobs": str(multiprocessing.cpu_count() + 1),
"kernel": "stable",

View File

@ -28,8 +28,7 @@ def folder_size(args, path):
"""
Run `du` to calculate the size of a folder (this is less code and
faster than doing the same task in pure Python). This result is only
approximatelly right, but good enough for pmbootstrap's use case:
<https://github.com/postmarketOS/pmbootstrap/pull/760>
approximatelly right, but good enough for pmbootstrap's use case (#760).
:returns: folder size in bytes
"""
@ -51,16 +50,8 @@ def check_grsec(args):
if not os.path.exists(path):
return
link = "https://github.com/postmarketOS/pmbootstrap/issues/107"
raise RuntimeError("You're running a kernel based on the grsec"
" patchset. At the moment, pmbootstrap is not"
" compatible with grsec or a hardened kernel, sorry!"
" To get pmbootstrap working, you will need to switch"
" to a vanilla kernel (i.e. non-hardened and without grsec)."
" Alternatively, it would be awesome if you want to add"
" support for hardened/grsec kernels, please see this for"
" more details: <" + link + ">")
" patchset. This is not supported.")
def check_binfmt_misc(args):
"""
@ -105,8 +96,7 @@ def migrate_work_folder(args):
if current == 0:
# Ask for confirmation
logging.info("Changelog:")
logging.info("* Building chroots have a different username: "
"<https://github.com/postmarketOS/pmbootstrap/issues/709>")
logging.info("* Building chroots have a different username (#709)")
logging.info("Migration will do the following:")
logging.info("* Zap your chroots")
logging.info("* Adjust '" + args.work + "/config_abuild/abuild.conf'")

View File

@ -61,8 +61,7 @@ def get_subpartitions_size(args):
# /dev/installp2
full = root - home
# Add some free space, see also:
# https://github.com/postmarketOS/pmbootstrap/pull/336
# Add some free space, see also: #336
full *= 1.20
full += 50 * 1024 * 1024
boot += 15 * 1024 * 1024

View File

@ -49,8 +49,7 @@ def test_get_folder_size(args, tmpdir):
# Check if the size is correct. Unfortunately, the `du` call
# in pmb.helpers.other.folder_size is not very accurate, so we
# allow 10kb of tolerance (good enough for our use case):
# <https://github.com/postmarketOS/pmbootstrap/pull/760>
# allow 10kb of tolerance (good enough for our use case): #760
tolerance = 10240
size = 204800 * files
result = pmb.helpers.other.folder_size(args, tmpdir)

View File

@ -4,7 +4,7 @@ pkgname=device-lg-mako
pkgver=2
pkgrel=16
pkgdesc="Google Nexus 4"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="linux-lg-mako mkbootimg mesa-dri-swrast"

View File

@ -2,7 +2,7 @@ pkgname=device-sony-amami
pkgver=2
pkgrel=0
pkgdesc="Sony Xperia Z1 Compact"
url="https://github.com/postmarketOS"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base mkbootimg mdss-fb-init-hack mesa-dri-swrast"