Add ansible package #51

Closed
opened 2023-07-04 05:33:27 +00:00 by PeterSurda · 1 comment
Owner

Ansible isn't in the public openwrt packages. I can install it with pip, but it needs a lot of diskspace and these development packages:

  • gcc
  • python3-dev
  • python3-cffi

I think if you build it throught buildbot, the extra packages won't need to be installed in the image and everything will take less space.

EDIT The git package should also be included in case I do ansible-pull from a git URL.

I'm bumping the filesystem size in #50 already, maybe I should change it for all packages now, I hope that's enough, even with that bump, during building / installing ansible I had to move some files to another drive.

Now, I'm not fully sure if to put it in all images, or only waveshare. I'm not sure because during upgrade the whole new image needs to be downloaded to RAM. On the dualeth and sensing devices I tend to have only 1GB of RAM. Based on /lib/upgrade/common.sh and /lib/upgrade/platform.sh, at least it doesn't look like it needs to store the uncompressed image (the combined command would look something like busybox zcat openwrtblabla.gz|dd of=/dev/mmcblk_whatever. I would say we first try to put it only into waveshare (these I use with 8GB RAM so it's less of a problem) and then I see how much diskspace is available.

Ansible isn't in the public openwrt packages. I can install it with pip, but it needs a lot of diskspace and these development packages: - `gcc` - `python3-dev` - `python3-cffi` I think if you build it throught buildbot, the extra packages won't need to be installed in the image and everything will take less space. **EDIT** The `git` package should also be included in case I do `ansible-pull` from a git URL. I'm bumping the filesystem size in #50 already, maybe I should change it for all packages now, I hope that's enough, even with that bump, during building / installing ansible I had to move some files to another drive. Now, I'm not fully sure if to put it in all images, or only `waveshare`. I'm not sure because during upgrade the whole new image needs to be downloaded to RAM. On the `dualeth` and `sensing` devices I tend to have only 1GB of RAM. Based on `/lib/upgrade/common.sh` and `/lib/upgrade/platform.sh`, at least it doesn't look like it needs to store the uncompressed image (the combined command would look something like `busybox zcat openwrtblabla.gz|dd of=/dev/mmcblk_whatever`. I would say we first try to put it only into `waveshare` (these I use with 8GB RAM so it's less of a problem) and then I see how much diskspace is available.
lee.miller was assigned by PeterSurda 2023-07-04 05:33:35 +00:00
Author
Owner

Fixed in #53.

Fixed in #53.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Sysdeploy/openwrt#51
No description provided.