Skip to content

install.sh downloads 284MB of unneeded data during installation #1474

Description

@vpzed

What was expected: The installer would download only the latest version of the LifeOS files needed for installation.
What happened: The installer downloaded a tarball that included every PAI/LifeOS release back to v2.3 which led to an ~289MB download instead of what could have been ~4.3MB.

User Impact: Slower installation time, and extra data usage on metered connections such as cellular hotspots.

How to reproduce: Manually download the release tarball and inspect the contents.

wget https://ourlifeos.ai/install.sh
DRY_RUN=1 bash install.sh

Manually download the release tarball provided in the "Fetching LifeOS .." section, and untar it to inspect.

$ du -h v7.0.0.tar.gz 
289M	v7.0.0.tar.gz

$ du -hs *
50M	images
4.0K	LICENSE
18M	LifeOS
16K	README.md
329M	Releases
8.0K	SECURITY.md
76K	Tools

$ tar cfz LifeOS.tar.gz LifeOS

$ du -h LifeOS.tar.gz
4.3M	LifeOS.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions