Skip to content

Commit 28b5ae4

Browse files
authored
Stable merge for week 37 of 2024 (#920)
### Updated Packages - `kernelctl` - 0.2-1 (#905) - `whiteboard-hypercard` - 0.5.0-1 (#917) - `linux-mainline` - 6.3.0-1 (#732) - Now available on OS 3.x - `toltec-deletions` - 6.3.0-1 (#732 #919)
1 parent c5202f2 commit 28b5ae4

6 files changed

Lines changed: 32 additions & 30 deletions

File tree

package/kernelctl/kernelctl

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ bl="\033[1;34m" # blue
1414
# change our working directory to / to ease filesystem operations
1515
cd /
1616

17+
# find current os version
18+
os_version=$(awk -F= '/RELEASE_VERSION/{print $2}' /usr/share/remarkable/update.conf)
19+
1720
help() {
1821
read -r -d '' msg <<- EOM
1922
Usage: $(basename "$0") COMMAND
@@ -36,7 +39,7 @@ help() {
3639
# backup current kernel
3740
backup() {
3841
if [[ "$1" = "vanilla" ]]; then
39-
kernel_name="vanilla-$(< /etc/version)"
42+
kernel_name="vanilla-$os_version"
4043
else
4144
kernel_name=$1
4245
fi
@@ -82,7 +85,7 @@ to_kernel_name() {
8285
echo "${kernel_names[$(($1 - 1))]}"
8386
return
8487
elif [[ "$1" = "default" ]]; then
85-
ker="vanilla-$(< /etc/version)"
88+
ker="vanilla-$os_version"
8689
else
8790
ker="$1"
8891
fi
@@ -185,7 +188,7 @@ prune() {
185188
echo -n "Do you want to proceed? [N/y]: "
186189
read -r ans
187190
if [[ "$ans" = "y" || "$ans" = "Y" ]]; then
188-
mapfile -t filenames < <(find "$kernelctl_dir" -path "*vanilla-*.tar.bz2" ! -name vanilla-"$(< /etc/version)".tar.bz2)
191+
mapfile -t filenames < <(find "$kernelctl_dir" -path "*vanilla-*.tar.bz2" ! -name vanilla-"$os_version".tar.bz2)
189192
for filename in "${filenames[@]}"; do
190193
rm "$filename"
191194
done

package/kernelctl/package

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
pkgnames=(kernelctl)
66
pkgdesc="Manage aftermarket kernels"
77
url=https://toltec-dev.org/
8-
pkgver=0.1-7
8+
pkgver=0.2-1
99
timestamp=2022-11-12T00:00Z
1010
section="utils"
1111
maintainer="Salvatore Stella <etn45p4m@gmail.com>"
@@ -26,15 +26,17 @@ package() {
2626
}
2727

2828
configure() {
29-
if [[ "$(kernelctl list | tail -n +2 | awk '{print $2}' | grep "vanilla-$(< /etc/version)")" == "" ]]; then
29+
os_version=$(awk -F= '/RELEASE_VERSION/{print $2}' /usr/share/remarkable/update.conf)
30+
if [[ "$(kernelctl list | tail -n +2 | awk '{print $2}' | grep "vanilla-$os_version")" == "" ]]; then
3031
echo "Creating a backup of the currently running kernel."
3132
kernelctl backup vanilla
3233
fi
3334
}
3435

3536
preremove() {
36-
if [[ "$(kernelctl show | tail -n 1 | grep "vanilla-$(< /etc/version)")" == "" ]]; then
37-
if [[ "$(kernelctl list | tail -n +2 | awk '{print $2}' | grep "vanilla-$(< /etc/version)")" == "" ]]; then
37+
os_version=$(awk -F= '/RELEASE_VERSION/{print $2}' /usr/share/remarkable/update.conf)
38+
if [[ "$(kernelctl show | tail -n 1 | grep "vanilla-$os_version")" == "" ]]; then
39+
if [[ "$(kernelctl list | tail -n +2 | awk '{print $2}' | grep "vanilla-$os_version")" == "" ]]; then
3840
echo "Unable to restore default kernel."
3941
echo "To force removal, you can run the following:"
4042
echo " opkg remove --force-remove kernelctl"

package/linux-mainline/package

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,26 @@
22
# Copyright (c) 2021 The Toltec Contributors
33
# SPDX-License-Identifier: MIT
44

5-
archs=(rm2os2)
5+
archs=(rm2)
66
pkgnames=(linux-mainline)
77
pkgdesc="reMarkable 2 kernel based on the mainline kernel"
88
url=https://www.kernel.org
9-
pkgver=6.2.0-3
10-
timestamp=2022-05-22T21:50:09Z
9+
pkgver=6.3.0-2
10+
timestamp=2023-08-23T21:50:09Z
1111
section=kernel
1212
maintainer="Alistair Francis <alistair@alistair23.me>"
1313
makedepends=(build:flex build:bison build:libssl-dev build:bc build:lzop build:libgmp-dev build:libmpc-dev)
14+
installdepends=(kernelctl)
1415
license=GPL-2.0-only
1516
flags=(nostrip)
1617

17-
image=base:v2.3
18+
image=base:v3.2
1819
source=(
19-
https://github.com/alistair23/linux/archive/8241218883331bfdc0800f30eb337ff97b7c648c.tar.gz
20+
https://github.com/alistair23/linux/archive/1698a3bdd8d66e58873c5bb3ce370b7d48b004cf.tar.gz
2021
remarkable_defconfig
2122
)
2223
sha256sums=(
23-
de69fc74f1d25f447da170967eeea13b24354e9b8aa1927addcaa88c2ea9cd7c
24+
647f6a60adad8c4e37eeaf9114c037888cb33923e364bbf5dc0830b2661c21b7
2425
f4d8cbb2c0e7bff5b151729b45064eb9e95005cb91899f0a9df038343d95ebf2
2526
)
2627

@@ -55,9 +56,9 @@ configure() {
5556
echo
5657
echo "Known issues with the mainline kernel:"
5758
echo " - No support for low power mode (suspend uses more power then it should)"
58-
echo " - Device doesn't always resume from suspend, a reboot is required"
59-
echo " - GUI shutdown in Oxide doesn't work"
59+
echo " - Shutdown doesn't work (https://github.com/alistair23/linux/issues/4)"
60+
echo " - Device doesn't always resume correctly from suspend, a reboot is required"
6061
echo " - Wacom stylus doesn't work in Xochitl (https://github.com/reMarkable/linux/issues/15)"
61-
echo " - Finger input doesn't work in Koreader (https://github.com/koreader/koreader/issues/10012)"
6262
echo " - No OTG control support"
63+
echo " - Folio does not work"
6364
}

package/toltec-deletions/package

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ archs=(rm1os2 rm1os3 rm2os2 rm2os3)
66
pkgnames=(toltec-deletions)
77
pkgdesc="Metapackage to handle package deletions between OS versions"
88
url=https://toltec-dev.org/
9-
pkgver=0.1-8
9+
pkgver=0.1-9
1010
timestamp=2023-12-03T04:51:58Z
1111
section="utils"
1212
maintainer="Eeems <eeems@eeems.email>"
@@ -22,7 +22,6 @@ conflicts_rm1os3=(
2222
wireguard
2323
innernet-client
2424
gocryptfs
25-
linux-mainline
2625
remarkable-stylus
2726
)
2827
replaces_rm1os3=(
@@ -31,7 +30,6 @@ replaces_rm1os3=(
3130
wireguard
3231
innernet-client
3332
gocryptfs
34-
linux-mainline
3533
remarkable-stylus
3634
)
3735
conflicts_rm2os3=(
@@ -40,7 +38,6 @@ conflicts_rm2os3=(
4038
wireguard
4139
innernet-client
4240
gocryptfs
43-
linux-mainline
4441
remarkable-stylus
4542
open-remarkable-shutdown
4643
)
@@ -50,7 +47,6 @@ replaces_rm2os3=(
5047
wireguard
5148
innernet-client
5249
gocryptfs
53-
linux-mainline
5450
remarkable-stylus
5551
open-remarkable-shutdown
5652
)
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
#!/usr/bin/env bash
2-
# Copyright (c) 2023 The Toltec Contributors
2+
# Copyright (c) 2024 The Toltec Contributors
33
# SPDX-License-Identifier: MIT
44

55
pkgnames=(whiteboard-hypercard)
66
pkgdesc="Real-time collaboration, drawing or whiteboarding"
77
url=https://github.com/fenollp/reMarkable-tools
8-
pkgver=0.3.7-2
9-
timestamp=2023-10-11T12:57Z
8+
pkgver=0.5.0-1
9+
timestamp=2024-09-12T19:00:22Z
1010
section="drawing"
1111
maintainer="Pierre Fenoll <pierrefenoll@gmail.com>"
1212
license=CC-BY-NC-ND
1313
installdepends=(display)
1414
flags=(patch_rm2fb)
1515

16-
image=rust:v3.1
16+
image=rust:v3.2
1717
source=(
18-
https://github.com/fenollp/reMarkable-tools/archive/v0.3.7.zip
18+
https://github.com/fenollp/reMarkable-tools/archive/refs/tags/v0.5.0.zip
1919
whiteboard-hypercard.draft
2020
)
2121
sha256sums=(
22-
642fd954ec4f9a1d132b10cc7f7dfbee3467e9c08b1253cc32d1e372178d168b
22+
668f0b1dbc6027f6f6b8ab69f65c844a718f38115f79b9ce79e060a1cef3edfb
2323
SKIP
2424
)
2525

2626
build() {
2727
pushd marauder
2828
rustup component add rustfmt
2929
cargo fetch
30-
cargo build --release --bin whiteboard --locked --frozen --offline
30+
cargo build --release --package=marauder --bin=whiteboard --locked --frozen --offline --target=armv7-unknown-linux-gnueabihf
3131
popd
3232
}
3333

3434
package() {
35-
install -D -m 755 -t "$pkgdir"/opt/bin "$srcdir"/marauder/target/armv7-unknown-linux-gnueabihf/release/whiteboard
35+
install -D -m 755 -t "$pkgdir"/opt/bin "$srcdir"/target/armv7-unknown-linux-gnueabihf/release/whiteboard
3636
install -D -m 644 -t "$pkgdir"/opt/etc/draft "$srcdir"/whiteboard-hypercard.draft
3737
}

package/whiteboard-hypercard/whiteboard-hypercard.draft

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2023 The Toltec Contributors
1+
# Copyright (c) 2024 The Toltec Contributors
22
# SPDX-License-Identifier: MIT
33

44
name=whiteboard

0 commit comments

Comments
 (0)