Skip to content

Commit 52f8172

Browse files
authored
Merge branch 'testing' into upower
2 parents 689480b + e89615a commit 52f8172

File tree

32 files changed

+346
-254
lines changed

32 files changed

+346
-254
lines changed

.github/workflows/pr-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
jobs:
66
check-labels:
77
name: Check that PRs against the stable branch are labelled correctly
8-
runs-on: ubuntu-20.04
8+
runs-on: ubuntu-22.04
99
steps:
1010
- name: Check labels
1111
run: |

.github/workflows/pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
jobs:
55
lint:
66
name: Check that it conforms to the style guide
7-
runs-on: ubuntu-20.04
7+
runs-on: ubuntu-22.04
88
steps:
99
- name: Checkout the Git repository
1010
uses: actions/checkout@v3
@@ -16,15 +16,15 @@ jobs:
1616
run: make lint
1717
pr:
1818
name: Check that it builds without error
19-
runs-on: ubuntu-20.04
19+
runs-on: ubuntu-22.04
2020
needs: lint
2121
steps:
2222
- name: Checkout the Git repository
2323
uses: actions/checkout@v3
2424
- name: Setup Toltec dependencies
2525
uses: ./.github/actions/setup
2626
- name: Build packages
27-
run: make repo-new FLAGS='--remote-repo https://toltec-dev.org/${{ github.base_ref }}'
27+
run: FLAGS='--remote-repo https://toltec-dev.org/${{ github.base_ref }}' make repo-new
2828
- name: Save the build output
2929
uses: actions/upload-artifact@v3
3030
with:

.github/workflows/stable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
stable:
88
name: Build and publish the stable channel
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-22.04
1010
steps:
1111
- name: Checkout the Git repository
1212
uses: actions/checkout@v3

.github/workflows/testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
testing:
88
name: Build and publish the testing channel
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-22.04
1010
steps:
1111
- name: Checkout the Git repository
1212
uses: actions/checkout@v3

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ RECIPES=$(shell ls package/)
66
RECIPES_PUSH=$(foreach app, $(RECIPES), $(app)-push)
77
RECIPES_CLEAN=$(foreach app, $(RECIPES), $(app)-clean)
88

9+
ifeq ($(RUNNER_DEBUG), 1)
10+
FLAGS+= --verbose
11+
endif
12+
913
define USAGE
1014
Building packages:
1115

package/7zip/package

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
#!/usr/bin/env bash
2-
# Copyright (c) 2021 The Toltec Contributors
2+
# Copyright (c) 2023 The Toltec Contributors
33
# SPDX-License-Identifier: MIT
44
pkgnames=(7zip)
55
pkgdesc="A file archiver with a high compression ratio."
66
url="https://www.7-zip.org/"
7-
section="util"
8-
pkgver=22.01-1
9-
timestamp=2022-07-15T00:00:00Z
7+
section="utils"
8+
pkgver=23.01-1
9+
timestamp=2023-06-20T00:00:00Z
1010
maintainer="Eeems <[email protected]>"
1111
license=LGPL-2.1-or-later
1212
source=(
13-
https://www.7-zip.org/a/7z2201-linux-arm.tar.xz
13+
https://www.7-zip.org/a/7z2301-linux-arm.tar.xz
1414
)
1515
sha256sums=(
16-
428c11efd91fe1809c4750e8cd5d6eddfbed2826d8a5399ffcacb849f0d21cf8
16+
9d67650982f819d7557c27dea748fa66ca6c04a3a1148d66716c463580b0550c
1717
)
1818

1919
package() {

package/bottom/package

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/usr/bin/env bash
2+
# Copyright (c) 2023 The Toltec Contributors
3+
# SPDX-License-Identifier: MIT
4+
5+
pkgnames=(bottom)
6+
pkgdesc="Cross-platform graphical process/system monitor"
7+
url=https://github.com/ClementTsang/bottom
8+
pkgver=0.9.6-1
9+
timestamp=2023-08-26T14:43Z
10+
section="utils"
11+
maintainer="gbyl <[email protected]>"
12+
license=MIT
13+
14+
image=rust:v3.1
15+
source=("https://github.com/ClementTsang/bottom/archive/refs/tags/${pkgver%-*}.zip")
16+
sha256sums=(38c1a544ceeac4792f8e4acbf3adbf0a6d7a935afb7ef9121aaba1e7ed25cea3)
17+
18+
build() {
19+
cargo build --release
20+
}
21+
22+
package() {
23+
install -D -m 755 "$srcdir"/target/armv7-unknown-linux-gnueabihf/release/btm "$pkgdir"/opt/bin/btm
24+
}

package/folly/package

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
pkgnames=(folly)
66
pkgdesc="Z-machine interpreter for interactive fiction"
77
url="https://github.com/bkirwi/folly"
8-
pkgver=0.0.1-3
8+
pkgver=0.0.1-4
99
timestamp=2022-04-18T17:50:16Z
1010
section=games
1111
maintainer="Ben Kirwin <[email protected]>"
1212
license=MIT
1313
installdepends=(display)
14-
makedepends=(build:librust-clang-sys-dev build:libclang-dev build:libc6 build:libc6-dev build:clang)
14+
makedepends=(build:libclang-14-dev build:clang-14 build:llvm-14-dev)
1515

1616
image=rust:v2.3
1717

package/koreader/package

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
pkgnames=(koreader)
66
pkgdesc="Ebook reader supporting PDF, DjVu, EPUB, FB2 and many more formats"
77
url=https://github.com/koreader/koreader
8-
pkgver=2023.10-2
9-
timestamp=2023-10-30T17:19:28Z
8+
pkgver=2024.01-1
9+
timestamp=2024-01-11T17:16:35Z
1010
section="readers"
1111
maintainer="raisjn <[email protected]>"
1212
license=AGPL-3.0-or-later
@@ -21,7 +21,7 @@ source=(
2121
koreader
2222
)
2323
sha256sums=(
24-
fdb72bdb80c74b6c955ffde8852ce67b77ebc7d88ceb4a439b622aff74ad858e
24+
2616c7f0c63d54810f4ec78477ecb5dac2443990c7d2c8188c577ad5d925cca1
2525
SKIP
2626
SKIP
2727
SKIP

package/lf/package

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
#!/usr/bin/env bash
2-
# Copyright (c) 2022 The Toltec Contributors
2+
# Copyright (c) 2023 The Toltec Contributors
33
# SPDX-License-Identifier: MIT
44

55
pkgnames=(lf)
66
pkgdesc="Terminal file manager"
77
url=https://github.com/gokcehan/lf
8-
pkgver=r27-1
9-
timestamp=2022-04-02T09:40Z
8+
pkgver=r31-2
9+
timestamp=2023-09-17T12:55Z
1010
section="utils"
1111
maintainer="gbyl <[email protected]>"
1212
license=MIT
13+
installdepends=(libncurses-dev)
1314

14-
image=golang:v2.3
15-
source=("https://github.com/gokcehan/lf/archive/refs/tags/r27.zip")
16-
sha256sums=(a4f7b3ada4aa1348b7f102374d8580b6992977f7e84053aa04ef6aadb69dc205)
15+
image=golang:v3.1
16+
source=("https://github.com/gokcehan/lf/archive/refs/tags/${pkgver%-*}.zip")
17+
sha256sums=(217e152f09ae0cc8ab8f12fd92f705dd12630907de2b6a78ffc2727950921f97)
1718

1819
build() {
1920
export GOARCH=arm

package/linux-stracciatella/package

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ archs=(rm1 rm2)
66
pkgnames=(linux-stracciatella)
77
pkgdesc="RemarkableAS's vanilla kernel with a few extra flakes"
88
url=https://github.com/Etn40ff/linux-remarkable
9-
pkgver=5.4.70-3
10-
timestamp=2023-09-23T00:12:00Z
9+
pkgver=5.4.70.4-1
10+
timestamp=2023-12-28T22:42:42Z
1111
section="kernel"
1212
maintainer="Salvatore Stella <[email protected]>"
1313
makedepends=(build:flex build:bison build:libssl-dev build:bc build:lzop build:libgmp-dev build:libmpc-dev build:kmod)
@@ -17,11 +17,11 @@ installdepends=(kernelctl)
1717
image=base:v3.1
1818
_wireguard_version=1.0.20220627
1919
source=(
20-
https://github.com/Etn40ff/linux-remarkable/archive/c908b16d6b848964ecc9b116a024f247c290a1bf.tar.gz
20+
"https://github.com/Etn40ff/linux-remarkable/archive/refs/tags/${pkgver%-*}.tar.gz"
2121
"https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-$_wireguard_version.tar.xz"
2222
)
2323
sha256sums=(
24-
2075b9eb69172751b3e8e0d3a40d63c0c05982e79a2724ed7c3bdfc4f7988eea
24+
29fd9d7adcb243b841d3577088dd2aec6106eaaa3bc51440411f49ea50658c01
2525
362d412693c8fe82de00283435818d5c5def7f15e2433a07a9fe99d0518f63c0
2626
)
2727
noextract=("wireguard-linux-compat-$_wireguard_version.tar.xz")

package/move-logs-to-opt/package

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
#!/usr/bin/env bash
2+
# Copyright (c) 2023 The Toltec Contributors
3+
# SPDX-License-Identifier: MIT
4+
5+
pkgnames=(move-logs-to-opt)
6+
pkgdesc="Move log files to /opt to save space on the root partition"
7+
url=https://github.com/toltec-dev/toltec
8+
pkgver=0.0.1-1
9+
timestamp=2024-01-07T23:55Z
10+
section="utils"
11+
maintainer="Eeems <[email protected]>"
12+
license=MIT
13+
14+
source=(var-log.mount)
15+
sha256sums=(SKIP)
16+
17+
package() {
18+
mkdir -p "$pkgdir"/opt/var/log
19+
install -D -m 644 -t "$pkgdir"/lib/systemd/system/ "$srcdir"/var-log.mount
20+
}
21+
22+
configure() {
23+
systemctl daemon-reload
24+
if is-active systemd-journald.service; then
25+
journalctl --sync --flush
26+
systemctl stop systemd-journald.service
27+
fi
28+
if ! mountpoint -q /var/log; then
29+
echo "Moving log files to new location"
30+
local target_path=/home/root/.entware/var/log
31+
mkdir -p "$target_path"
32+
cp -af "/var/log/." "$target_path"
33+
rm -rf "/var/log/"*
34+
fi
35+
if ! is-enabled "var-log.mount"; then
36+
systemctl enable "var-log.mount"
37+
fi
38+
systemctl restart "var-log.mount"
39+
systemctl start systemd-journald.service
40+
}
41+
42+
preremove() {
43+
if is-active systemd-journald.service; then
44+
journalctl --sync --flush
45+
systemctl stop systemd-journald.service
46+
fi
47+
disable-unit "var-log.mount"
48+
}
49+
50+
postremove() {
51+
systemctl daemon-reload
52+
systemctl start systemd-journald.service
53+
if mountpoint -q /var/log; then
54+
umount -l /var/log
55+
fi
56+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[Unit]
2+
Description=Bind mount '/home/root/.entware/var/log' over '/var/log'
3+
DefaultDependencies=no
4+
Conflicts=umount.target
5+
Before=local-fs.target umount.target systemd-journald.service
6+
After=home.mount
7+
8+
[Mount]
9+
What=/home/root/.entware/var/log
10+
Where=/var/log
11+
Type=none
12+
Options=bind
13+
14+
[Install]
15+
WantedBy=local-fs.target

0 commit comments

Comments
 (0)