drinkcat / chroagh

Chromium OS Archlinux Chroot Environment
BSD 3-Clause "New" or "Revised" License
241 stars 27 forks source link

chgrp: cannot access ‘/sys/module/i915/parameters/i915_enable_fbc’ #115

Open DMFra opened 8 years ago

DMFra commented 8 years ago

while installing the same has failed because of this error, can anyone help?

chgrp: cannot access ‘/sys/module/i915/parameters/i915_enable_fbc’: no such file or directory

Californian commented 8 years ago

Same here.

Edit: Not sure which of the following steps fixed the problem, but I first ran sudo rm -rf /usr/local/chroots/arch, then edited ./installer/arch/bootstrap to add continue to the patch specified in #100, then commented out the block with chgrp in ./host-bin/enter-chroot (search for chgrp and add # before the line that starts with for and every line after that until there's a blank line), then ran sudo sh -e installer/main.sh -r arch -t core -t cli-extra -m 'https://archive.archlinux.org/repos/2016/02/01/$repo/os/$arch' (you might want to change the -t core -t cli-extra to whatever you wanted to install, e.g. xfce).

evan-a-a commented 7 years ago

The file has been renamed which is why it fails to chgrp on it. The correct fix is to modify https://github.com/drinkcat/chroagh/blob/master/host-bin/enter-chroot#L152 and remove the i915_ part