-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stable merge for week 45 of 2022 (#646)
This update brings official support for OS 2.15.1.1189 to toltec. ### Updated Packages - `ddvk-hacks` - 39.01-1 (#633 #640 #645) - Add support for OS - 2.14.3.1047 - 2.15.0.1067 - 2.15.1.1189 - Fix hash for rM1 2.14.1.866 - `display` and `rm2fb-client` - 0.0.27 (#634 #643 ) - Add support for OS - 2.14.3.1047 - 2.15.0.1011 - 2.15.0.1046 - 2.15.0.1052 - 2.15.0.1067 - 2.15.1.1189 - `kernelctl` - 0.1-5 (#636 #641) - Add prune - Fix bug where initial install would always fail - `linux-mainline` - 6.0.0-1 (#637) - `erode` `fret` `oxide` `rot` `tarnish` `decay` `corrupt` `anxiety` `liboxide` - 2.4-2 (#641) - Fix xochitl not being run in chroot - Fix systemd and dbus access in chroot - Fix sync for xochitl inside chroot when using rmfakecloud-proxy - `toltec-base` - 1.1-1 (#641) - Speed up boot time on 2.15.1.1189 by disabling unused usb1 network interface - Disable auto update - `xochitl` - 0.0.0-14 (#641) - Fix issue where xochitl would run even though it was disabled due to how sync.service is configured
- Loading branch information
Showing
14 changed files
with
176 additions
and
37 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,15 +6,15 @@ archs=(rm1 rm2) | |
pkgnames=(ddvk-hacks) | ||
pkgdesc="Enhance Xochitl with additional features" | ||
url=https://github.com/ddvk/remarkable-hacks | ||
pkgver=36.01-1 | ||
timestamp=2022-09-07T00:05:57+0200 | ||
pkgver=39.01-1 | ||
timestamp=2022-11-09T18:31:51Z | ||
section="readers" | ||
maintainer="Mattéo Delabre <[email protected]>" | ||
license=MIT | ||
flags=(nostrip) | ||
|
||
source=(https://github.com/ddvk/remarkable-hacks/archive/c3ec0b6aa480baaaaf63460c99796f952265bf19.zip) | ||
sha256sums=(7ce383e5be058fa7bd90ec069211a74c737c36ef61a1c767bff9a352963d94a0) | ||
source=(https://github.com/ddvk/remarkable-hacks/archive/90e7e3e7ffc269373de191085453be50c9f8da0c.zip) | ||
sha256sums=(d3b1413bb9219804581afab598e7f5308233e7467d64e8084e67aae7346beaba) | ||
|
||
_patches_dir="/opt/share/ddvk-hacks" | ||
_xochitl_path="/usr/bin/xochitl" | ||
|
@@ -40,6 +40,9 @@ package() { | |
install -D -m 644 -t "$pkgdir$_patches_dir" "$srcdir"/patches/2140861_rm1/patch_34.1.01 | ||
install -D -m 644 -t "$pkgdir$_patches_dir" "$srcdir"/patches/2141866_rm1/patch_35.1.01 | ||
install -D -m 644 -t "$pkgdir$_patches_dir" "$srcdir"/patches/2143977_rm1/patch_36.1.01 | ||
install -D -m 644 -t "$pkgdir$_patches_dir" "$srcdir"/patches/21431047_rm1/patch_37.1.01 | ||
install -D -m 644 -t "$pkgdir$_patches_dir" "$srcdir"/patches/21501067_rm1/patch_38.1.03 | ||
install -D -m 644 -t "$pkgdir$_patches_dir" "$srcdir"/patches/21511189_rm1/patch_39.1.01 | ||
elif [[ $arch = rm2 ]]; then | ||
install -D -m 644 -t "$pkgdir$_patches_dir" "$srcdir"/patches/26171_rm2/patch_19.2.02 | ||
install -D -m 644 -t "$pkgdir$_patches_dir" "$srcdir"/patches/26275_rm2/patch_20.2.03 | ||
|
@@ -59,6 +62,9 @@ package() { | |
install -D -m 644 -t "$pkgdir$_patches_dir" "$srcdir"/patches/2140861_rm2/patch_34.2.01 | ||
install -D -m 644 -t "$pkgdir$_patches_dir" "$srcdir"/patches/2141866_rm2/patch_35.2.01 | ||
install -D -m 644 -t "$pkgdir$_patches_dir" "$srcdir"/patches/2143977_rm2/patch_36.2.01 | ||
install -D -m 644 -t "$pkgdir$_patches_dir" "$srcdir"/patches/21431047_rm2/patch_37.2.01 | ||
install -D -m 644 -t "$pkgdir$_patches_dir" "$srcdir"/patches/21501067_rm2/patch_38.2.03 | ||
install -D -m 644 -t "$pkgdir$_patches_dir" "$srcdir"/patches/21511189_rm2/patch_39.2.01 | ||
fi | ||
} | ||
|
||
|
@@ -72,14 +78,29 @@ configure() { | |
if [[ $arch = rm1 ]]; then | ||
device="reMarkable 1" | ||
case "$build_date" in | ||
"20221026103859") | ||
patch_version="39.1.01" | ||
original_hash="1c01bae469a2e29846c68758e2cae4a2b8b5055d" | ||
xochitl_version="2.15.1.1189" | ||
;; | ||
"20221003074737") | ||
patch_version="38.1.03" | ||
original_hash="a3ce408c8a717d48746e361336532924f5ff40f2" | ||
xochitl_version="2.15.0.1067" | ||
;; | ||
"20220921102803") | ||
patch_version="37.1.01" | ||
original_hash="011742f027b70f37a0da293132daafcfc82b537d" | ||
xochitl_version="2.14.3.1047" | ||
;; | ||
"20220825122914") | ||
patch_version="36.1.01" | ||
original_hash="a88faec812ae20960bfbab38be0aa49aafec902a" | ||
xochitl_version="2.14.3.977" | ||
;; | ||
"20220617142418") | ||
patch_version="35.1.01" | ||
original_hash="d172016ac8a97ca5df3c551648e0b3314f17f72a" | ||
original_hash="a052dfbe587851d17146e586e4be65819f1360e3" | ||
xochitl_version="2.14.1.866" | ||
;; | ||
"20220615075543") | ||
|
@@ -158,6 +179,21 @@ configure() { | |
elif [[ $arch = rm2 ]]; then | ||
device="reMarkable 2" | ||
case "$build_date" in | ||
"20221026104022") | ||
patch_version="39.2.01" | ||
original_hash="64e3cb3d05aec4a40624ebfc730e480358e1b184" | ||
xochitl_version="2.15.1.1189" | ||
;; | ||
"20221003075633") | ||
patch_version="38.2.03" | ||
original_hash="fcd3c84215c5457d455419831760304736f3b694" | ||
xochitl_version="2.15.0.1067" | ||
;; | ||
"20220921101206") | ||
patch_version="37.2.01" | ||
original_hash="47c3ad26651f604be5de901881a8a44f9124a79c" | ||
xochitl_version="2.14.3.1047" | ||
;; | ||
"20220825124750") | ||
patch_version="36.2.01" | ||
original_hash="470e88f8d5fb62f64939fe4ea3b89c515113f7e5" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,11 @@ | |
|
||
archs=(rm1 rm2) | ||
pkgnames=(display rm2fb-client) | ||
timestamp=2022-09-10T09:40:15Z | ||
timestamp=2022-10-28T15:36:16Z | ||
maintainer="raisjn <[email protected]>" | ||
license=MIT | ||
url="https://github.com/ddvk/remarkable2-framebuffer" | ||
pkgver=1:0.0.23-1 | ||
pkgver=1:0.0.27-1 | ||
_release="${pkgver%-*}" | ||
_release="v${_release#*:}" | ||
_libver=1.0.1 | ||
|
@@ -23,7 +23,7 @@ source=( | |
rm2fb-preload.env | ||
) | ||
sha256sums=( | ||
f29fc4c1683a4833059291ccc1a8b472be1e4cdbdd4f1f3f39317b9e994e840c | ||
f4bf553f2bc868a04452f67881d7a1053f791da7d29fecbb2c5fc4075facf282 | ||
SKIP | ||
SKIP | ||
SKIP | ||
|
Empty file.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,37 +5,29 @@ | |
pkgnames=(kernelctl) | ||
pkgdesc="Manage aftermarket kernels" | ||
url=https://toltec-dev.org/ | ||
pkgver=0.1-2 | ||
timestamp=2022-03-14T00:00Z | ||
pkgver=0.1-5 | ||
timestamp=2022-11-12T00:00Z | ||
section="utils" | ||
maintainer="Salvatore Stella <[email protected]>" | ||
license=MIT | ||
|
||
source=( | ||
kernelctl | ||
force_reinstall_on_toltecctl_reenable | ||
) | ||
sha256sums=( | ||
SKIP | ||
SKIP | ||
) | ||
|
||
package() { | ||
touch "$srcdir"/emptyfile | ||
install -D -m 744 -t "$pkgdir"/opt/bin "$srcdir"/kernelctl | ||
install -d "$pkgdir"/opt/usr/share/kernelctl | ||
install -D -m 666 -t "$pkgdir"/usr/share/kernelctl/ "$srcdir"/force_reinstall_on_toltecctl_reenable | ||
install -D -m 666 -t "$pkgdir"/usr/share/toltec/reenable.d/kernelctl "$srcdir"/emptyfile | ||
} | ||
|
||
configure() { | ||
if [[ "$(kernelctl list | tail -n +2 | awk '{print $2}' | grep "vanilla-$(< /etc/version)")" == "" ]]; then | ||
read -r -d '' msg <<- EOM | ||
It looks like there is no backup of the upstream kernel for the | ||
installed version of codex. | ||
Please standby while one is produced (assuming that the | ||
currently running kernel is upstream). | ||
EOM | ||
echo -e "$msg" | ||
echo "Creating a backup of the currently running kernel." | ||
kernelctl backup vanilla | ||
fi | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ archs=(rm2) | |
pkgnames=(linux-mainline) | ||
pkgdesc="reMarkable 2 kernel based on the mainline kernel" | ||
url=https://www.kernel.org | ||
pkgver=5.19.0-1 | ||
pkgver=6.0.0-1 | ||
timestamp=2022-05-22T21:50:09Z | ||
section=kernel | ||
maintainer="Alistair Francis <[email protected]>" | ||
|
@@ -15,8 +15,8 @@ license=GPL-2.0-only | |
flags=(nostrip) | ||
|
||
image=base:v2.3 | ||
source=("https://github.com/alistair23/linux/archive/6df274810d20448125834115e2181de288fdc8a4.tar.gz") | ||
sha256sums=(a7538198dbef21868d2c52e8b379576c8791726809bd5886176ab88d1f9df49f) | ||
source=("https://github.com/alistair23/linux/archive/4c2ef4e3bba89a8d767eccb85a242b2cd8850146.tar.gz") | ||
sha256sums=(1583d553380a656ecaac8dab89558051e9165983381adc9c3d52fb8ac0ce19fd) | ||
|
||
build() { | ||
ARCH=arm make imx_v6_v7_defconfig | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,16 +3,22 @@ | |
# SPDX-License-Identifier: MIT | ||
|
||
pkgnames=(erode fret oxide rot tarnish decay corrupt anxiety liboxide libsentry) | ||
pkgver=2.4-1 | ||
pkgver=2.4-2 | ||
_sentryver=0.4.17 | ||
timestamp=2022-05-22T03:18:32Z | ||
maintainer="Eeems <[email protected]>" | ||
url=https://oxide.eeems.codes | ||
license=MIT | ||
flags=(patch_rm2fb) | ||
image=qt:v2.3 | ||
source=("https://github.com/Eeems-Org/oxide/archive/e6c62a6860b52cd1cbd47e21377f8d1ecf72bb0a.tar.gz") | ||
sha256sums=(a29cf455d5f66fee4ee67722c6f1d20627930920286398932c3d5c813d58ebee) | ||
source=( | ||
"https://github.com/Eeems-Org/oxide/archive/e6c62a6860b52cd1cbd47e21377f8d1ecf72bb0a.tar.gz" | ||
toltec-override.conf | ||
) | ||
sha256sums=( | ||
a29cf455d5f66fee4ee67722c6f1d20627930920286398932c3d5c813d58ebee | ||
SKIP | ||
) | ||
|
||
build() { | ||
find . -name "*.pro" -type f -print0 \ | ||
|
@@ -84,6 +90,8 @@ tarnish() { | |
install -D -m 644 -t "$pkgdir"/etc/dbus-1/system.d "$srcdir"/release/etc/dbus-1/system.d/codes.eeems.oxide.conf | ||
install -D -m 644 -t "$pkgdir"/lib/systemd/system "$srcdir"/release/etc/systemd/system/tarnish.service | ||
install -D -m 755 -t "$pkgdir"/opt/bin "$srcdir"/release/opt/bin/tarnish | ||
install -D -m 644 -t "$pkgdir"/etc/systemd/system/tarnish.service.d \ | ||
"$srcdir"/toltec-override.conf | ||
} | ||
configure() { | ||
systemctl daemon-reload | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Copyright (c) 2021 The Toltec Contributors | ||
# SPDX-License-Identifier: MIT | ||
|
||
[Unit] | ||
Conflicts=xochitl.service | ||
Conflicts=sync.service |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,8 @@ archs=(rm1 rm2) | |
pkgnames=(toltec-base) | ||
pkgdesc="Metapackage defining the base set of packages in a Toltec install" | ||
url=https://toltec-dev.org/ | ||
pkgver=1.0-1 | ||
timestamp=2022-02-28T00:12Z | ||
pkgver=1.1-1 | ||
timestamp=2022-11-07T20:19:57Z | ||
section="utils" | ||
maintainer="Eeems <[email protected]>" | ||
license=MIT | ||
|
@@ -19,5 +19,15 @@ source=() | |
sha256sums=() | ||
|
||
package() { | ||
true | ||
touch "$srcdir"/emptyfile | ||
install -D -m 666 -t "$pkgdir"/usr/share/toltec/reenable.d/toltec-base "$srcdir"/emptyfile | ||
} | ||
|
||
configure() { | ||
if is-enabled "update-engine.service"; then | ||
echo "Disabling automatic update" | ||
systemctl disable --now update-engine | ||
fi | ||
echo "Disabling usb1 network device to avoid long boots" | ||
systemctl mask sys-subsystem-net-devices-usb1.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Copyright (c) 2021 The Toltec Contributors | ||
# SPDX-License-Identifier: MIT | ||
|
||
killall xochitl |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Copyright (c) 2021 The Toltec Contributors | ||
# SPDX-License-Identifier: MIT | ||
|
||
[Unit] | ||
Description=reMarkable Document Sync without the xochitl.service dependency | ||
After=dbus.socket | ||
StartLimitIntervalSec=60 | ||
StartLimitBurst=4 | ||
Conflicts=sync.service | ||
|
||
[Service] | ||
# Do NOT make this dbus, systemd will kill the service when it should be | ||
# running otherwise. | ||
Type=simple | ||
BusName=no.remarkable.sync | ||
ExecStart=/usr/bin/sync --service | ||
Restart=on-failure | ||
RestartForceExitStatus=SIGHUP SIGINT SIGTERM SIGPIPE | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
Oops, something went wrong.