[PATCH] system: Source .profile in skeleton bash_profile.

  • Done
  • quality assurance status badge
Details
2 participants
  • Andrew Tropin
  • Christopher Baines
Owner
unassigned
Submitted by
Andrew Tropin
Severity
normal
A
A
Andrew Tropin wrote on 14 Jan 2022 07:16
(address . guix-patches@gnu.org)
87ilkyed53.fsf@trop.in
* gnu/system/shadow.scm (default-skeletons)[bash_profile]: Source .profile in
skeleton bash_profile.
---
gnu/system/shadow.scm | 3 +++
1 file changed, 3 insertions(+)

Toggle diff (16 lines)
diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm
index 59f0a02c8b..f30ac79932 100644
--- a/gnu/system/shadow.scm
+++ b/gnu/system/shadow.scm
@@ -123,6 +123,9 @@ (define (default-skeletons)
'useradd' in the home directory of newly created user accounts."
(let ((profile (plain-file "bash_profile" "\
+# Set up Guix Home profile
+if [ -f ~/.profile ]; then . ~/.profile; fi
+
# Honor per-interactive-shell startup file
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi\n"))
(bashrc (plain-file "bashrc" "\
--
2.37.3
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmM9ZvgACgkQIgjSCVjB
3rBwQg/+LwT5yhVS+gk5otYvMlFbyR8wovTyYYNuzRm+1YWJlOSHZ7wFiuYoeenV
8/fyti6K94xtzP507kCmeSKB6Sxr64aLSg49h9rXIqes9DXoM3vwjfd7PjN2mQ59
cXMdvP+v33nQWYXeYlopRXOJhsk/XYoj3dF5xMlCITZbilH0creSIsXI9OyXM0QY
aeokh+R4qUD2Yf5llAh01tLj1lHzyPmWq6E/nPTGA6fak2fHWYlV83BFPSSA5BDU
8tBk/TSDVgjS89s+s+J3nEBAM9Sjv3PXyXkc/FmyhjNv7eu18PRtLAi5RbGzTsUp
XhnPBnlwY4THU+dG3wwGhuHi3B+YCl28ljJXs/ogqBv01obgBQdlus5EBlsV666o
SCXik1MBEXKbVe4Ew0KbRCpB/SCEmOFfLK3JQWPcwOVG+xDxlgd0dAKNlMX7pWHV
x1f0hGEIiFceKpwKnXTL0zQfN+IKTQcTUKezeAqFsLiBhDID4kMjyWNjeUIrWHuR
aXmcdLfBUgjbUQww0lIngPNzGUO6exzsxMvvMdT3g67WWAe9mWRTClYvmjcylI/Q
vIA3DzOaaet3kGGfuMYIINSeTW9hrWH5wheK6pmaHEXyFEIi9qCUJftCW6IrGX2v
WG+GgAd0TFICgkmP6JCLuiOEbR2Uyi3h5mFSj4lPZ116K+7Q0ME=
=3n+a
-----END PGP SIGNATURE-----

C
C
Christopher Baines wrote on 3 Nov 2022 16:49
(name . Andrew Tropin)(address . andrew@trop.in)(address . 58303@debbugs.gnu.org)
87eduknikv.fsf@cbaines.net
Andrew Tropin <andrew@trop.in> writes:

Toggle quote (8 lines)
> [[PGP Signed Part:Undecided]]
>
> * gnu/system/shadow.scm (default-skeletons)[bash_profile]: Source .profile in
> skeleton bash_profile.
> ---
> gnu/system/shadow.scm | 3 +++
> 1 file changed, 3 insertions(+)

Hey!

This issue has been open for a while, is the patch still relevant?

It seems OK to me, but then I don't know much about this shell stuff or
guix home.

Chris
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmNj4zBfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9XeBYRAAoXyGIJqyyQ9Pk1fLbtgJ8uyrypKKBIva
jMQqg0z6VNgVfr8r/jaGCsQuaXxK0K94cGVwXtlQtmLEObUSUThdKiTBWelD27Hv
+ndDkaxfpD6u5wXIbEjF+oMm9R3sO96EZ/2B4GG/b0CTlbk0sR9cQZr8qno6fazr
RNe/KaSoNawnmz94udBWcmbSGBgurDYM5L5/nTZlvRulGZk8FK2QqWpC0MJGNFx7
/TZU7ba8OA+UzqsZsL5g1ixNgaIUrUtdbN9CIBUFAeBSYV3gCFvRcNigD9lHumQY
Rk0XvMFidn4Q8Ms9OCOQ9TO4ZKpRAr0jvDPjgHOQXPitHsHuAYJ4jSdPKq943nWf
qz8FuzQ/aRTjQgeof2riW8nOWThSs///Oy5OWo1grcITXAu1qL4M5ONiF+dd0pRf
iiwuMxRVDJ30fe6STaQuYoitK/zlDHlXBJwewtZczLa/3znRZl39kK8mL19w6xUt
5MX7T1/14fodFUQp08bkpAgw3UcHc0wl8003qn4OidNwyzXyDEOLAhi066boLMm+
dX+Qly2VrsSPnyRXyRDoBeMV2kt/o27qQdOdtPDtW2Rv8elp5ZZKNhQJMTN2qFo+
d56E7gN7bnQwweOJPMMHd4+GPOUZBuUI4Mo6vo38OqkHuEamyQ26zHYp4fMrZ0V2
HgpvzBWkWwk=
=KM7I
-----END PGP SIGNATURE-----

C
C
Christopher Baines wrote on 5 Nov 2022 11:24
tag 58303 moreinfo
(address . control@debbugs.gnu.org)
87bkplzokn.fsf@cbaines.net
tags 58303 + moreinfo
quit
A
A
Andrew Tropin wrote on 28 Nov 2022 07:02
Re: [bug#58303] [PATCH] system: Source .profile in skeleton bash_profile.
(name . Christopher Baines)(address . mail@cbaines.net)(address . 58303@debbugs.gnu.org)
87k03fd3c6.fsf@trop.in
On 2022-11-03 16:49, Christopher Baines wrote:

Toggle quote (19 lines)
> Andrew Tropin <andrew@trop.in> writes:
>
>> [[PGP Signed Part:Undecided]]
>>
>> * gnu/system/shadow.scm (default-skeletons)[bash_profile]: Source .profile in
>> skeleton bash_profile.
>> ---
>> gnu/system/shadow.scm | 3 +++
>> 1 file changed, 3 insertions(+)
>
> Hey!
>
> This issue has been open for a while, is the patch still relevant?
>
> It seems OK to me, but then I don't know much about this shell stuff or
> guix home.
>
> Chris

Yep, still relevant.

--
Best regards,
Andrew Tropin
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmOETtkACgkQIgjSCVjB
3rB+Bw/9G1B+tJN3USY4fAgKr66OKcZXg8RIF0vjp3O8R1J8ZGk4g54v4RGgFLQ9
5zpPhPAnii+Zf9tscSwO5xyGqUlsVwNfHPqecJzmG6oMMvPmu+z8h1ZaEcRzoYBp
u1meTGqCyAysnNAjTa/XojBgrfgj8SmfPTU+DCzvE3YPOxxPJUgEEKf8Ksimykj4
nHO2Q5fewH5wjn1HbWPmTxeugPhbHpoZUBB3wWmDX7gVseblUvRBDIsOuIJfbBq3
HtZ0POuHv7Ffvdug0nUFFp+DusPh+wtdLPrBrmmgFiLvNOo5X9Un0CQaHYmcyIzM
61ILyS2UvYKix+gNjhGcYVcGa9O+nSDrF02rKGdBhRxB7SpPVgv5gMoyhb+VMKu8
iiPg3uXg9AmOtqW2MQEyYNtwNhs2WdqXBhAY4pGRffUO/wOVcY8b2VLGP49qWpr7
JodLj2XvyHq25Oz+IUIcu7kP0wD+Dy8LNEN7oDVR1VqdR+7Vp5QXRRXZOXhXtSxS
ZZu4jMTq5FhjXxdiquciQzQ6CGnijIXxJEOuLSEFgA0jmzsMJNuLUQSzM27dkaw0
8+ILv+rLyd2qjUJ3X3niA+/xSL75Vw7Z6p9NvERiPQmaT2mFCbHAfEFu5xeicxRX
mqsHWROEgKILAXANVqQf45g6BoPxwLA9cKBFRxiNwuSpRenTUrg=
=oRaR
-----END PGP SIGNATURE-----

A
A
Andrew Tropin wrote on 8 Feb 2023 15:42
Applied
(address . control@debbugs.gnu.org)
87bkm41anf.fsf@trop.in
close 58303
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmPjtNQACgkQIgjSCVjB
3rD0nw//cIUycXD9rV8VDhVSuGR3gDg+S1x5BaiGwApwUttdxwguMxTXKikenz3L
DQJAfsV5/0g+KToQdkFaMhDIJof+vRyOlv0kLRLlWhxqamXNkaLYsKMTgGU7DolQ
DOOaFDzJcSciFAeFhCKJjINPni995EDWo0YGCxPTrhQRfTDcorg8KnN/OGKdvXzI
Laq0MMG+CKkgtfPztG7vP6cCC6SgLMYydZvPUJFgWuZIkig3uZ3ZaEJiRIqVvbqy
bAevWyT/E9VPb2fnl5wCEFeepyp384nxstygu/EwY7dXG4z05wwlCg1m9ZfplXw2
6XKaXyidrCXslCOGB8wrDio65TVmojtzEaTgmRIixSMx77wKsyRYtASW6jRLNreU
6b2QfzP5XXhiaQSXLx8SM2hzvvXTb0JTyyJxxFb3C//GcQHNSHTOBvWagTD7HemV
MEg6Cl0dgLy+6eZEf6VHE6MfKoW8sd7/dwZpiQmeSp7cyeGfwyFhEmdcb9IkaViw
ALq3fyzS2aA15Jgi3KUYUFFstW2jHDUWPfba+kMZCXgem6NaFWPw/Uj2sIfG4v1a
Mw1PpxqyjnVfZuSGGqw/Us5gcV0jCRWF4fcpQDO7pLwZAQocOl17LqNoXjORYMLw
+GRQnDO+ejyYZxJvXBcbn9uA4z7oIXcYXvqIxpj355QXThVVc74=
=6mcD
-----END PGP SIGNATURE-----

?
Your comment

This issue is archived.

To comment on this conversation send an email to 58303@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 58303
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch