Coder Social home page Coder Social logo

lemniskett / archbox Goto Github PK

View Code? Open in Web Editor NEW
131.0 131.0 4.0 159 KB

Easy to use Arch Linux chroot environment with some functionalities to integrate it with your existing Linux installation. Mirror of https://momodev.lemniskett.moe/lemniskett/archbox

License: Apache License 2.0

Shell 100.00%
arch-linux chroot-enviroment

archbox's Introduction

+-----

Love GNU/Linux things and FOSS enjoyer

-----+


archbox's People

Contributors

samsifpv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

archbox's Issues

uid and file owner in mounted home don't match.

Thanks for making archbox, it's very useful.

I have a user jbrown that has a uid of 1001 on the host Ubuntu system and a uid of 1000 in the Arch chroot. This is a pain because the permissions are wrong for all the files in /home/jbrown that are owned by 1001.

21:55:30 detritus:~
  id -u jbrown
1001

21:55:34 detritus:~
  archbox -e

21:55:38 detritus:/
  id -u jbrown
1000

21:55:54 detritus:/
  ls -al /home/jbrown/
total 600
drwxr-xr-x 30 1001 1001   4096 Oct 27 15:54 .
drwxr-xr-x  3 root root   4096 Oct  2 20:30 ..
drwxr-xr-x  2 1001 1001   4096 Oct  4 20:12 .aws
-rw-------  1 1001 1001  11467 Oct 27 21:55 .bash_history
-rw-r--r--  1 1001 1001    220 Oct  2 20:29 .bash_logout
-rw-r--r--  1 1001 1001    127 Oct  2 22:12 .bash_profile
-rw-r--r--  1 1001 1001   2486 Oct  2 22:12 .bash_prompt
-rw-r--r--  1 1001 1001   2909 Oct 15 21:15 .bashrc

What is the best way to work around this one? I perfer to change the uid of jbrown to 1001 but I can not because jbrown always has some process in the chroot and it crashes if I kill it.

ChromeOS

Greetings,

does archbox support ChromeOS ?

SteamDeck support?

I do have a SteamDeck with SteamOS 3.4 (Arch distro) and I would like to install this software on my machine but I do not know if is supported and if so how to install-it.

Best regards.

How do I use input methods?

This is pretty usable, but there is one problem.
I can't use input methods, which are used for entering special characters like Cyrillic and CJK.
Is there a chance that I can run them properly in Archbox?
As a reference, I'll specify my environment here.
OS: NixOS 21.11 Unstable
DE: KDE Plasma

Use $PREFIX in install.sh

The install script presently has /usr/local hard coded as its prefix, which may not be desirable to package maintainers. The convention (in GNU Makefiles at least) is to default this to /usr/local but for it to be easy to override.

ARM64 / AARCH64 Chromebooks

Hi,
Does this work on ARM64 chromebooks? I need it very badly, truly, madly, deeply. Please say yes. :)
Thanks.

Archbox using the wrong PATH environment variable.

Archbox is using my host NixOS system's PATH environment variable.
Screenshot
Screenshot_20211117_205709

I can confirm the binaries exist in /bin.
Here is my config:

{ config, pkgs, ... }:

let
    archbox = pkgs.stdenv.mkDerivation rec {
        name = "archbox";
        src = pkgs.fetchFromGitHub {
            owner = "lemniskett";
            repo = "archbox";
            rev = "6ab44021605ff7592692562871aa654eec1ed6bb";
            sha256 = "0qgar6w2q1wsglx3zyj02mygypxs6bplrj43k61bkwz9g9d31yw5";
        };
        sourceRoot = ".";
        installPhase = ''
            mkdir -p $out
            cd source
            export FORCE_INSTALL_CONFIG=1
            export ETC_DIR=$out/etc
            export PREFIX=$out
            export ARCHBOX_USER=meisme_arch
            export MOUNT_RUN=no
            ${pkgs.bash}/bin/bash install.sh
        '';
    };
in
{
    environment.systemPackages = [ archbox ];
    environment.etc = { 
        "archbox.conf" = { 
            source = "${archbox}/etc/archbox.conf";
        };
    };
}

Dependencies

Like the title says, a list of dependencies would be nice to add to the readme. So far i know wget is one for the download of the arch linux bootstrap tarball, and a bash or bash capable shell.

Perl gives unset locale error

When starting perl, it gives an error message about unset locale settings. Like this:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_MONETARY = "de_CH.UTF-8",
	LC_PAPER = "de_CH.UTF-8",
	LC_TELEPHONE = "de_CH.UTF-8",
	LC_MEASUREMENT = "de_CH.UTF-8",
	LC_TIME = "de_CH.UTF-8",
	LANG = "en_GB.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

This can be fixed by setting the two unset locales in the .bashrc, like this:

export LC_ALL="de_CH.UTF-8"
export LANGUAGE="de_CH.UTF-8"

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.