This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Related to this pull-request: | |
https://github.com/alpinelinux/aports/pull/1092 | |
Steps: | |
1. upgrade busybox to the one, which has busybox-extras | |
2. telnet does not exist anymore | |
3. add busybox-extras | |
4. telnet exists | |
5. uninstall busybox-extras and re-install busybox | |
6. telnet does not exist anymore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Copyright 2017 Oliver Smith | |
# | |
# This file is part of pmbootstrap. | |
# | |
# pmbootstrap 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 file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import datetime | |
d0 = datetime.date.today() | |
d1 = datetime.date(2017, 5, 26) | |
delta = d0 - d1 | |
print("days running: " + str(delta.days)) | |
next_big = 200 | |
d2 = d1 + datetime.timedelta(days=next_big) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Raw notes of the steps I took to conver the wiki. | |
install git-mediawiki pandoc | |
git clone https://github.com/postmarketOS/pmbootstrap.wiki.git | |
cd pmbootstrap.wiki | |
#!/bin/sh | |
for f in *.md; do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/pmb/config/__init__.py | |
+++ b/pmb/config/__init__.py | |
@@ -161,41 +161,44 @@ apkbuild_attributes = { | |
} | |
# Variables from deviceinfo. Reference: <https://postmarketos.org/deviceinfo> | |
-deviceinfo_attributes = [ | |
+# When the value is True, the variable is required. | |
+deviceinfo_attributes = { | |
# device |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/aports/device/device-qemu-amd64/APKBUILD | |
+++ b/aports/device/device-qemu-amd64/APKBUILD | |
@@ -22,5 +22,5 @@ package() { | |
"$pkgdir"/etc/network/interfaces | |
} | |
-sha512sums="b73fe8c04f482fe63b31b80ad901d8e5349fc713e99137a273b0cfbae25e4c7d23bff8e5aac582ab4a3b87d0039aa166dd5b9827c1afc0551cef800916749697 deviceinfo | |
+sha512sums="b8aad9f0669e80859c6da5897ac1bce14979d5089846e7389188ba2264cd449dcda0336491cd4339e07b723c2d35105ea887867a071036418ba0f9b056d85768 deviceinfo | |
d510ca304066840aa5e6c4fc71ded1b7e83012c93837fa39e37bdb873b3636230030d56f7aa50c93fc688f563cb4cb96c02ad333bbc45a400c1ebee1792a9dd4 interfaces" | |
diff --git a/aports/device/device-qemu-amd64/deviceinfo b/aports/device/device-qemu-amd64/deviceinfo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -e | |
# shellcheck disable=SC2039,SC2155 | |
# Copyright 2018 Oliver Smith | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
script="$(basename "$0")" | |
label="$1" | |
input="$2" | |
output="$3" | |
temp="" |