Package Details: cros-container-guest-tools-git r403.0c2dcc71-1

Git Clone URL: https://aur.archlinux.org/cros-container-guest-tools-git.git (read-only, click to copy)
Package Base: cros-container-guest-tools-git
Description: Linux guest tools for the Crostini containers on ChromeOS
Upstream URL: https://chromium.googlesource.com/chromiumos/containers/cros-container-guest-tools
Keywords: chromeos containers crostini lxc
Licenses: custom
Submitter: ava1ar
Maintainer: mshaugh
Last Packager: mshaugh
Votes: 20
Popularity: 0.20
First Submitted: 2018-05-23 06:53 (UTC)
Last Updated: 2023-04-25 16:51 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 11 Next › Last »

EuphoricCatface commented on 2022-04-15 02:32 (UTC) (edited on 2022-04-16 02:27 (UTC) by EuphoricCatface)

I think I've got everything right with the archwiki guide, but when I put it in the place of penguin, Crostini keeps erasing the arch image

I've been using Arch on Crostini on Asus C101PA until ~10 months ago (stopped because of the small storage of 16GB), so I think I'm not too noob about this. I'm currently trying anew on my new machine Asus Spin 513.

Just in case, one thing I think I'm currently deviating from the guide is that I'm copying the arch image into penguin, not moving. Not that I think it should matter, and earlier attempts with move failed as well.

EDIT: <s>Comparing /opt/google, the official debian image has only cros-containers while the arch image has bin cros-adapta lib lost+found.</s> I'm currently on Beta 101, maybe something's updated on the beta channel?

EDIT2: Some systemd services apparently fails without showing up in $ systemctl --failed and $ systemctl --failed --user. cros-garcon fails for missing /dev/.container_token, and cros-sftp fails for missing /dev/.ssh/ssh_authorized_keys. There could be couple more failed services.

EDIT3: I've noticed I lost the network connection of the container after some reboots... I have tried applying https://wiki.archlinux.org/title/LXD#No_IPv4_with_systemd-networkd but it still doesn't work. systemctl reports version 250.4-2-arch.

EDIT4: The error message 13 was crostini being unable to reach the lxc image server. It is irrelevant to the problem where crostini deletes the container and the container lacking network
Also, the speculation on EDIT (1) was my mistake. I seem to have mistakenly compared /opt/google and /opt/google/cros-containers when I wrote it. Comparing find output doesn't give obvious differences.

nallekarhu commented on 2022-04-13 17:18 (UTC) (edited on 2022-04-13 17:22 (UTC) by nallekarhu)

I got makepkg working and chromeos fonts installed properly by commenting out all lines in the ### cros-host-fonts section in the PKGBUILD and adding the following line

install -m644 -D ${srcdir}/${_pkgname}/cros-host-fonts/usr-share-fonts-chromeos.mount ${pkgdir}/usr/lib/systemd/system/usr-share-fonts-chromeos.mount

After installing arch then start and enable the unit by running

sudo systemctl enable usr-share-fonts-chromeos.mount --now

Restart linux and chromeos fonts should be installed in /usr/share/fonts

jgreen1tc commented on 2022-04-06 19:56 (UTC) (edited on 2022-04-13 16:05 (UTC) by jgreen1tc)

I finally got makepkg to work by editing the PKGBUILD, commenting all of the lines in the cros-host-fonts section and replacing it with the following:

edit: the code I originally wrote didnt do anything because Im a noob. Commenting out the code in the cros-host-fonts section is enough to get the package installed, but you might not have the fonts mounted as described below. This might affect firefox and some other apps, but you can check out the upstream comments for more info.

icantremember commented on 2022-04-06 17:39 (UTC)

Yes, please. I'd like to nominate jgreen1tc to maintain this package. Is that how this works?

icantremember commented on 2022-04-06 03:03 (UTC)

I understand this part: It basically just mounts /mnt/chromeos/fonts to /usr/share/fonts/chromeos.

But not this part so much: If you change the PKGBUILD to install this file as a systemd unit, then start/enable after install

I'm generally familiar with Linux but new to Arch. Not sure where to even start with trying to make this work. There are parts in the Arch container how-to regarding systemd, but I'm really just following directions there (which I'm very good at :).

duhdugg commented on 2022-04-05 21:53 (UTC)

I'm no longer using this, but I still get notifications here. I would guess this file to be of significant importance:

src/cros-container-guest-tools/cros-host-fonts/usr-share-fonts-chromeos.mount

It basically just mounts /mnt/chromeos/fonts to /usr/share/fonts/chromeos. If you change the PKGBUILD to install this file as a systemd unit, then start/enable after install, fonts might work. There is probably something else I'm missing, but that's where I would start.

icantremember commented on 2022-04-05 20:44 (UTC)

Same issue as zedgoat below. Any ideas? Arch is the only path I know to getting a working Signal desktop client on an arm chromeos device.

zedgoat commented on 2022-03-25 01:10 (UTC)

Hello! I was following the guide at https://wiki.archlinux.org/title/Chrome_OS_devices/Crostini, and when executing makepkg -si within cros-container-guest-tools-git its failing out with some of the font installs:

==> Starting package()...
install: cannot stat '/home/xxxx/Downloads/cros-container-guest-tools-git/src/cros-container-guest-tools/cros-host-fonts/05-cros-fonts.conf': No such file or directory
==> ERROR: A failure occurred in package().

It looks like the structure of the google package has changed since the last PKGBUILD update. Will try and have a dig around later re: fix, noting here in case anyone else has come across it.

afg984 commented on 2021-08-21 04:50 (UTC) (edited on 2021-08-21 04:50 (UTC) by afg984)

Please add makedepends=('git')

This is required by VCS package guidelines [1]. Also makes makechrootpkg happy.

[1] https://wiki.archlinux.org/title/VCS_package_guidelines