Skip to content
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

Update neofetch to v1.1.0 #769

Merged
merged 4 commits into from
Dec 7, 2023
Merged

Conversation

rM-self-serve
Copy link
Contributor

Release Notes v1.1.0
Repo

Add the current software version.

Screenshot_2023-12-06_11-26-01

@Eeems Eeems added the packages Add or improve packages of the repository label Dec 6, 2023
@Eeems Eeems added this to the 2023-W49 Merge Window milestone Dec 6, 2023
Copy link
Member

@Eeems Eeems left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be worth adding a postupgrade() step to inform users they can delete ~/.config/neofetch/config.conf to get the latest default config. Thoughts?

@rM-self-serve
Copy link
Contributor Author

Yes I think that is vital. I'm not sure how to see the output of postupgrade() when testing, but I believe the change should be correct.

@Eeems
Copy link
Member

Eeems commented Dec 7, 2023

Yes I think that is vital. I'm not sure how to see the output of postupgrade() when testing, but I believe the change should be correct.

You can install the previous version of the package from toltec, and then install the ipk file over top of it. I've had opkg get confused before after installing a newer version, but there is a file you can edit in /opt/lib/opkg or something that is the cache of what packages are available. You can just fix the available version number in there and then opkg update will properly sync the repo again for that package. I can give more explicit instructions later if you'd like on discord if you poke me. I'd have to be around my tablet to put them together.

@Eeems Eeems self-requested a review December 7, 2023 18:10
@rM-self-serve
Copy link
Contributor Author

rM-self-serve commented Dec 7, 2023

Thanks I should be able to go from there! I attempted to install over the existing version of neofetch but did not see the postupgrade message.

@Eeems
Copy link
Member

Eeems commented Dec 7, 2023

Thanks I should be able to go from there! I attempted to install over the existing version of neofetch but did not see the postupgrade message.

I don't see the message as well. I realized that this is because pre/post upgrade scripts are only called for the old version of the package, not the new one. Configure is the only script called from the new package.
https://github.com/toltec-dev/toltec/blob/stable/docs/package.md#install-section

I guess this will need to be in configure().

@Eeems
Copy link
Member

Eeems commented Dec 7, 2023

reMarkable: ~/packages/ opkg install neofetch
Installing neofetch (0.0.0-1) to root...
Downloading https://toltec-dev.org/testing/rmall/neofetch_0.0.0-1_rmall.ipk
Configuring neofetch.
reMarkable: ~/packages/ neofetch
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@   root@reMarkable 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@   --------------- 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@   OS: Codex Linux 3.1.35-2 (dunfell) armv7l 
@@@@@@@@@@@@:^::::@@@@@@@@@@@@::::^.@   Host: reMarkable 1.0 
@@@@@@@@@@@@!B@&&&!@@@@@@@@@@5@&@#?:@   Kernel: 5.4.70 
@@@@@@@@@@@@@~@@@@@?@@@@@@@.G@@@@P@@@   Uptime: 9 days, 53 mins 
@@@@@..@.^^.@~@##@@@Y@@@@@:B&B@@@P@@@   Packages: 154 (opkg) 
@^7YG&YJ&@@!@~@P^#@@@5.@@^##:Y@@@P@@@   Shell: bash 5.0.18 
@^5@@@P77YJ@@~@G@:B@@@G.~&G.@7@@@P@@@   Terminal: /dev/pts/0 
@@7@@@J@@@@@@~@G@@.G@@@#&5.@@7@@@P@@@   CPU: Freescale i.MX6 SoloLite (Device Tree) (1) @ 996MHz 
@@7@@@J@@@@@@~@G@@@@5@@@J@@@@7@@@P@@@   Memory: 89MiB / 466MiB 
@@?@@@Y@@@@@@!@B.@@@@Y&7@@@@@G@@@B.@@   Disk (/home): 2.4G / 6.5G (39%) 
@~5GGGPJ^@@.7PGGY^@@@@@@@@@^YGGGGGY^@   Battery0: 100% [Full] 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@                           
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@                           

reMarkable: ~/packages/ opkg install ./neofetch_1.1.0-1_rmall.ipk 
Upgrading neofetch on root from 0.0.0-1 to 1.1.0-1...
Configuring neofetch.

You may choose to remove ~/.config/neofetch/config.conf
in order to get the latest default config.
reMarkable: ~/packages/ neofetch
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@   root@reMarkable 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@   --------------- 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@   OS: Codex Linux 3.1.35-2 (dunfell) armv7l 
@@@@@@@@@@@@:^::::@@@@@@@@@@@@::::^.@   Host: reMarkable 1.0 
@@@@@@@@@@@@!B@&&&!@@@@@@@@@@5@&@#?:@   Kernel: 5.4.70 
@@@@@@@@@@@@@~@@@@@?@@@@@@@.G@@@@P@@@   Uptime: 9 days, 53 mins 
@@@@@..@.^^.@~@##@@@Y@@@@@:B&B@@@P@@@   Packages: 154 (opkg) 
@^7YG&YJ&@@!@~@P^#@@@5.@@^##:Y@@@P@@@   Shell: bash 5.0.18 
@^5@@@P77YJ@@~@G@:B@@@G.~&G.@7@@@P@@@   Terminal: /dev/pts/0 
@@7@@@J@@@@@@~@G@@.G@@@#&5.@@7@@@P@@@   CPU: Freescale i.MX6 SoloLite (Device Tree) (1) @ 996MHz 
@@7@@@J@@@@@@~@G@@@@5@@@J@@@@7@@@P@@@   Memory: 89MiB / 466MiB 
@@?@@@Y@@@@@@!@B.@@@@Y&7@@@@@G@@@B.@@   Disk (/home): 2.4G / 6.5G (39%) 
@~5GGGPJ^@@.7PGGY^@@@@@@@@@^YGGGGGY^@   Battery0: 99% [Full] 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@                           
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@                           

reMarkable: ~/packages/ rm ~/.config/neofetch/config.conf 
reMarkable: ~/packages/ neofetch
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@   root@reMarkable 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@   --------------- 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@   OS: Codex Linux 3.1.35-2 (dunfell) armv7l 
@@@@@@@@@@@@:^::::@@@@@@@@@@@@::::^.@   Host: reMarkable 1.0 
@@@@@@@@@@@@!B@&&&!@@@@@@@@@@5@&@#?:@   Xochitl: v2.15.1.1189 
@@@@@@@@@@@@@~@@@@@?@@@@@@@.G@@@@P@@@   Kernel: 5.4.70 
@@@@@..@.^^.@~@##@@@Y@@@@@:B&B@@@P@@@   Uptime: 9 days, 53 mins 
@^7YG&YJ&@@!@~@P^#@@@5.@@^##:Y@@@P@@@   Packages: 154 (opkg) 
@^5@@@P77YJ@@~@G@:B@@@G.~&G.@7@@@P@@@   Shell: bash 5.0.18 
@@7@@@J@@@@@@~@G@@.G@@@#&5.@@7@@@P@@@   Terminal: /dev/pts/0 
@@7@@@J@@@@@@~@G@@@@5@@@J@@@@7@@@P@@@   CPU: Freescale i.MX6 SoloLite (Device Tree) (1) @ 996MHz 
@@?@@@Y@@@@@@!@B.@@@@Y&7@@@@@G@@@B.@@   Memory: 89MiB / 466MiB 
@~5GGGPJ^@@.7PGGY^@@@@@@@@@^YGGGGGY^@   Disk (/home): 2.4G / 6.5G (39%) 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@   Battery0: 99% [Full] 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@                           
                                                                

reMarkable: ~/packages/ opkg remove neofetch
Removing package neofetch from root...
reMarkable: ~/packages/ rm ~/.config/neofetch/config.conf 
reMarkable: ~/packages/ opkg install ./neofetch_1.1.0-1_rmall.ipk 
Installing neofetch (1.1.0-1) to root...
Configuring neofetch.
reMarkable: ~/packages/

Pefect!

@Eeems Eeems merged commit fcce9a3 into toltec-dev:testing Dec 7, 2023
3 checks passed
Eeems pushed a commit that referenced this pull request Dec 10, 2023
* Update neofetch to v1.1.0

* inform config update

* optional config msg
@rM-self-serve rM-self-serve deleted the package/neofetch branch December 16, 2023 15:46
Eeems added a commit that referenced this pull request Dec 26, 2023
### New Packages
- `webinterface-onboot` 1.2.2-2 - (#770 #721)
  - Allows the usb web interface to start without the USB cable being connected.
- `webinterface-upload-button` - 1.0.1-1 (#771)
  - Adds an upload button to the usb web interface.
- `signature-rm` - 1.0.2-1 (#772)
  - Removes the `Sent from my reMarkable` signature from emails sent by the device.

### Updated Packages
- `linux-stracciatella` - 5.4.70-3 (#742)
  - Updated to RM1XX_5.4.70_v1.3.4 tag from upstream kernel.
  - Added wireguard module.
- `wireguard` - 1.0.20210219-4 (#743 #784)
  - Removed wireguard-tools and wg-quick from wireguard package. These packages are provided by entware already.
- `display` and `rm2fb-client` - 1:0.0.32-2 (#758 #721)
  - Add support for OS 3.3.2.1666
- `rmfm` - 1.5.1-1 (#766)
  - Fix issue where listing a directory with an invalid symlink would crash the application.
- `neofetch` - 1.1.0-1 (#769)
- `webinterface-wifi` - 2.0.0-2 (#768 #721)
- `micro` - 2.0.13-1 (#738)
- `koreader` - 2023.10-2 (#749 #721)
- `ddvk-hacks` - 39.01-2 (#720 #778)
  - Fix issue where `ddvk-hacks` wouldn't be reapplied when using `toltecctl reenable`.
- `draft` - 0.2.0-22 (#721)
- `erode`, `fret`, `oxide`, `rot`, `tarnish`, `decay`, `corrupt`, `anxiety`, `oxide-utils`, `inject_evdev`, and `liboxide` - 2.6-3 (#721)
- `reboot-guard` - 1.0.1-8 (#721)
- `rmfakecloud-proxy` - 0.0.3-4 (#721)
- `genie` - 0.1.6-3 (#721)
- `remux` - 0.2.4-2 (#721)
- `tailscale-systemd` - 0.0.0-2 (#721)
- `toltec-base` - 1.2-3 (#721)
- `xochitl` - 0.0.0-17 (#721)

### Tooling
- New `provides=()` field added for packages.
- Added `unit-exists` and `disable-unit` methods to install-lib

**Note:** This doesn't change what OS version that toltec supports, as full support still requires various packages to be updated, removed, or replaced. Along with proper testing of all packages in the repository, as well as the upgrade process. https://github.com/toltec-dev/toltec/milestone/7 contains the current list of issues and pull requests required for 3.x support.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages Add or improve packages of the repository
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants