View previous topic :: View next topic |
Author |
Message |
lekto Apprentice
Joined: 20 Sep 2014 Posts: 170 Location: Ancient Rome
|
Posted: Sat Apr 07, 2018 9:24 am Post subject: Harmful ebuild? |
|
|
Sometimes I need specific version of package that isn't in exact version in main portage tree, so I copy ebuild to my local repository and then edit it to get version I need. Sometimes I only need to change filename, but sometimes I need edit ebuild. Usually I edit ebuild using trial and error method.
I wondering is trial and error method safe? Can I damage system or portage is idiot-proof? |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5934
|
Posted: Sat Apr 07, 2018 9:27 am Post subject: |
|
|
theoretically yes, but unless you were to stick something like rm -rf / into one of the stages (like src_install), it's pretty harmless. either it builds, or it doesn't, and if it builds, it either installs or it doesn't. typical worst case scenario, you clutter up /var/tmp/portage with half-built packages. _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30915 Location: here
|
Posted: Sat Apr 07, 2018 9:56 am Post subject: |
|
|
Depend also what package is.
If package is a library used by others packages in the system that don't support the specific version you can break something _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
|