Removes --asroot for pacman v4.2.0 compatibiliity#4
Removes --asroot for pacman v4.2.0 compatibiliity#4logankoester wants to merge 8 commits intojesseadams:masterfrom
Conversation
- name -> @new_resource.name - Missing Chef::Mixin::Command include - expand_options() is not defined
…n, which was removed from pacman in 4.2.0
|
I have now fixed the build for this branch (foodcritic rule FC019). |
|
Thanks for fixing the build. These changes look good. However, I'd prefer to keep the default behavior to use the root user while allowing you to override this with another user. Are you willing to make that happen please? I know using makepkg as root is a bad idea but this cookbook was inherited from the Chef folks and I'd like to keep it consistent with previous behavior. Otherwise, we are looking at a major version bump. Thanks! |
|
Hey @jesseadams, I don't mind making that compromise if that's what you need to get this merged, but before I do, I'd just like to clarify that you're aware of:
If you understand this and still maintain your preference for some reason I haven't considered, I'll be happy to make the change - just let me know! |
|
@jesseadams Any thoughts on my previous comment? |
|
A friendly ping, can this be merged in? |
|
I am going to look back into this. |
|
Thanks @jesseadams! |
Sets default pacman.build_user to
nobodyand removes --asroot option, which was removed from pacman in 4.2.0