Giter Site home page Giter Site logo

Comments (5)

RoliSoft avatar RoliSoft commented on July 19, 2024 2

As of commit aa4457a, pacaur is automatically installed on Arch.

from wsl-distribution-switcher.

RoliSoft avatar RoliSoft commented on July 19, 2024 1

Hi,

I'm investigating alternatives, since his hack will not store the files as root in the archive, which might break some applications further down the line.

AUR has fakeroot-tcp, which seems to work, since the only issue with fakeroot was the lack of IPC, as far as I can tell:

$ yaourt -Sb fakeroot-tcp
$ sudo LD_PRELOAD=/root/libmockchroot.so pacman -U /tmp/yaourt-tmp-RoliSoft/fakeroot-tcp-1.20.2-1-x86_64.pkg.tar.xz
$ whoami
RoliSoft
$ fakeroot whoami
root

There's also fakeroot-ng, which isn't in AUR, but exists as a rewrite of fakeroot. I'll have to test that one as well.

I'll try to update the hook script to setup a working yaourt as well, with the proper fakeroot-tcp out-of-the-box.

Sidenote: I know, but the %wheel line is commented out in Arch's sudoers. I've added code in the previous commit to uncomment it.

from wsl-distribution-switcher.

SRGOM avatar SRGOM commented on July 19, 2024

@RoliSoft Would you be willing to setup another aur helper (and not yaourt)? As shown here, yaourt is the least green, pacaur, aurutils, bauerbill being the most. I specifically don't like that yaourt by default doesn't even give the option of reading PKGBUILD file.

from wsl-distribution-switcher.

cclements avatar cclements commented on July 19, 2024

+1 for pacaur

from wsl-distribution-switcher.

RoliSoft avatar RoliSoft commented on July 19, 2024

ba7d799 automatically installs the working fakeroot-tcp.

It doesn't install an AUR helper at this point, since I'm undecided which one to go with.

I'm also undecided on whether I should create a wrapper for pacman which includes the LD_PRELOAD, because right now, you can't directly install with makepkg -si, pacman will fail on the chroot issue. You'll need to do makepkg -s and install the package manually with LD_PRELOAD=... pacman -U *.pkg.xz.

from wsl-distribution-switcher.

Related Issues (20)

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.