-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toltec-base: Disable [email protected] #806
Conversation
8d78ff2
to
f00f574
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version number and timestamp for the package need to be updated as well, otherwise it will not be built, and opkg
will not detect this as an update.
Am I correct in assuming that you added |
Thank you for the review! To be honest, I was not aware of these custom methods. I naively tried them in an interactive shell and they failed. That's why I appended the command name. To check the |
I would expect it to remove the symlink to |
I thought it was odd too, since Toltec installs are supposed to be 100% reversible. I am not able to re-test this without reflashing. Could you make a backup of that file and test unmasking on your device? |
Since it's a |
I tried both and |
Device files are native to systemd and automatically generated. The files do not exist on the device. Masking one will create a symlink to What does |
|
As this is a device file, you don't enable it, it's just enabled by default, you should be able to start the unit. I would recommend not blocking while starting it, though: systemctl start --no-block sys-subsystem-net-devices-usb1.device |
Unfortunately, I got the same result. The start command did not report an error, but the status remains the same. |
And this is after you've also rebooted your device? |
That's right. I'm hoping it's only something local to my device from too much poking around. If you are not able to reproduce this, we can safely assume that, and resume the review of this PR |
I'd like to make sure this is working as expected before merging. I haven't tested this package yet on my device as I've been busy with other things. What happens if you reload udev? |
No worries. I ran that command and got no output. The status remains the same too. I'm not sure how to troubleshoot further without a reflash to better emulate the experience of the average Toltec user. |
You can use codexctl to install specific OS versions easily. From there you can just reenable toltec and be back where you were. Minus any manual changes to the root partition you made. |
Excellent. I can confirm it works fine on a fresh install:
Then manually replaying the steps Toltec goes through:
Despite the "removed" message, this time it does come back on the next reboot as expected. |
If you look closely at the message produced by the I'm not entirely sure what was happening for you previously, as unmasking it should have been enough for systemd to just automatically start seeing it again. Since this is a device, and not a normal unit file. |
Agreed. That makes perfect sense now. Is there anything else that should be changed in this PR? |
I'll let you know when I get around to testing it :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works fine on my rM1, someone will need to retest this on a rM2
Tested on my new rM2 and it works 😎 |
* toltec-base: disable [email protected] --------- Co-authored-by: gbyl <[email protected]> Co-authored-by: Nathaniel van Diepen <[email protected]>
### New Packages - `move-logs-to-opt` - 0.0.1-1 (#821) - Move log files to `/opt` to avoid filling up the root partition. - `oxide-extra` and `liboxide-dev` - 2.7-3 (#760) ### Updated Packages - `folly` - 0.0.1-4 (#823) - `koreader` - 2024.01-1 (#826) - `linux-stracciatella` - 5.4.70.4-1 (#808) - `oxide`, `oxide-utils`, `inject_evdev`, and `liboxide` - 2.7-3 (#760) - `puzzles` - 0.2.4-4 (#785) - `rm2-suspend-fix` - 0.0.0-3 (#821) - `genie` - 0.1.7-1 (#825) - `harmony` - 0.2.3-1 (#825) - `iago` - 0.1.2-1 (#825) - `remux` - 0.3.0-1 (#825) - `simple` - 0.2.1-1 (#825) - `tilem` - 0.1.1-1 (#764) - `toltec-base` - 1.3-1 (#806) - `yaft` - 0.1.1 (#763) - `zoneinfo-utils` - 2023c-1 (#702) - `rmfakecloud-proxy` - 0.0.3-5 (#757 #831) ### Packages removed - `erode`, `tarnish`, `decay`, and `corrupt` - Replaced by `oxide` - `fret`, and `anxiety` - Replaced by `oxide-extra` - `rot` - Replaced by `oxide-utils`
Disable
[email protected]
in rM1 to avoid the following errors on boot:Discussed in #803 (comment)