Giter Site home page Giter Site logo

vanilla-os / vso-image Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 71 KB

Containerfile for the Vanilla OS VSO image.

Home Page: https://images.vanillaos.org/#/recipe/vanilla-os-vso-image

License: GNU General Public License v3.0

Shell 100.00%
containers hacktoberfest oci-images vanillaos vso

vso-image's Introduction

Vanilla OS VSO Image

Containerfile for building a Vanilla OS VSO image.

This image is based on top of vanillaos/pico and adds the systemd package to obtain a full systemd environment for VSO.

Build

podman image build -t vanillaos/vso .

vso-image's People

Contributors

axtloss avatar kbdharun avatar matbme avatar mirkobrombin avatar taukakao avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

kbdharun taukakao

vso-image's Issues

Install nano by default

Feature Description

The text editor nano should be installed by default inside the container so the user doesn't have to install it themself.

Rationale

Many programs and most users require an editor and nano is an easy to use editor that is very widespread.

Additional Information

No response

Unable to unlock the apt

The unlock command gives this error in Orchid

Unlocking /usr/bin/private.apt
Error: rename /usr/bin/private.apt /usr/bin/apt: read-only file system

Export script failing when installing with apt

Issue Description

When trying to install nano you get:

trying to export nano
E: Problem executing scripts DPkg::Post-Invoke '/usr/share/vso/hooks/apt-post'
E: Sub-process returned an error code

Steps to Reproduce

  • vso shell
  • sudo apt install nano

On what version of Vanilla OS this happens?

Unreleased

Additional Information

No response

Handle desktop entries exports on `apt install`/`apt remove`

Since vso will become the default shell, we have to handle exports from the inside, this way if the user install a package using apt install, any desktop entry related to that package will be exported to the host system.

To achieve this, we can simply wrap the apt command to check if the active shell is vso and call vso export/vso unexport commands after each apt install/apt remove.

host-shell bad substitution

Issue Description

When running the host-shell command without arguments, it just returns:
/usr/bin/host-shell: line 16: ${$host_shell:-/bin/bash}: bad substitution

Steps to Reproduce

  • enter a new container with a recent version of this image
  • run host-shell

On what version of Vanilla OS this happens?

Unreleased

Additional Information

Probably caused by 5c83432

"Authorization required, but no authorization protocol specified" after installing something

Issue Description

This is because of the apt post hook https://github.com/Vanilla-OS/vso-image/blob/main/includes.container/usr/share/vso/hooks/apt-post

The system seems to be trying to create a new dbus instance which kills the old one. Not sure about the details here yet.

The user has to reboot to start graphical programs again.

Steps to Reproduce

  • run sudo su -c 'XDG_RUNTIME_DIR=/run/user/$UID; DBUS_SESSION_BUS_ADDRESS='unix:path=/run/user/$UID/bus'; host-shell ls' $SUDO_USER
  • run any graphical app like gedit

On what version of Vanilla OS this happens?

Unreleased

No man page for apt

Issue Description

The apt command in the VSO container does not have a man page installed by default. Since it is recommended to use apt instead of the vso program inside the container, users will look for apt documentation, and not find it.

Steps to Reproduce

  • Start the VSO container
  • Run man apt - the output is No manual entry for apt

On what version of Vanilla OS this happens?

Unreleased

Additional Information

I was able to fix this in my machine by running sudo apt reinstall apt from inside the container.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.