public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] quickpkg nice-to-have
@ 2021-06-03 13:14 n952162
  2021-06-03 13:22 ` n952162
  2021-06-03 14:52 ` Neil Bothwick
  0 siblings, 2 replies; 5+ messages in thread
From: n952162 @ 2021-06-03 13:14 UTC (permalink / raw
  To: gentoo-user

It sure would be nice if quickpkg would at least save config files by
default, like to inittab.saved, for when you forget to supply
--include-unmodified-config

empty file because --include-config=n when 'quickpkg' was used.

If the installation can test if the target config file is modified, then
it could go ahead and save it at the same time.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] quickpkg nice-to-have
  2021-06-03 13:14 [gentoo-user] quickpkg nice-to-have n952162
@ 2021-06-03 13:22 ` n952162
  2021-06-03 14:52 ` Neil Bothwick
  1 sibling, 0 replies; 5+ messages in thread
From: n952162 @ 2021-06-03 13:22 UTC (permalink / raw
  To: gentoo-user

On 6/3/21 3:14 PM, n952162 wrote:
> It sure would be nice if quickpkg would at least save config files by
> default, like to inittab.saved, for when you forget to supply
> --include-unmodified-config
>
> empty file because --include-config=n when 'quickpkg' was used.
>
> If the installation can test if the target config file is modified, then
> it could go ahead and save it at the same time.
>
>

I this case, I copied /etc/inittab from the host



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] quickpkg nice-to-have
  2021-06-03 13:14 [gentoo-user] quickpkg nice-to-have n952162
  2021-06-03 13:22 ` n952162
@ 2021-06-03 14:52 ` Neil Bothwick
  2021-06-03 14:58   ` n952162
  1 sibling, 1 reply; 5+ messages in thread
From: Neil Bothwick @ 2021-06-03 14:52 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 428 bytes --]

On Thu, 3 Jun 2021 15:14:31 +0200, n952162 wrote:

> It sure would be nice if quickpkg would at least save config files by
> default, like to inittab.saved, for when you forget to supply
> --include-unmodified-config
> 
> empty file because --include-config=n when 'quickpkg' was used.

alias quickpkg='quickpkg --include-unmodified-config=y' ;-)


-- 
Neil Bothwick

Talk is cheap because supply exceeds demand.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] quickpkg nice-to-have
  2021-06-03 14:52 ` Neil Bothwick
@ 2021-06-03 14:58   ` n952162
  2021-06-03 15:18     ` Matt Connell (Gmail)
  0 siblings, 1 reply; 5+ messages in thread
From: n952162 @ 2021-06-03 14:58 UTC (permalink / raw
  To: gentoo-user

On 6/3/21 4:52 PM, Neil Bothwick wrote:
> On Thu, 3 Jun 2021 15:14:31 +0200, n952162 wrote:
>
>> It sure would be nice if quickpkg would at least save config files by
>> default, like to inittab.saved, for when you forget to supply
>> --include-unmodified-config
>>
>> empty file because --include-config=n when 'quickpkg' was used.
> alias quickpkg='quickpkg --include-unmodified-config=y' ;-)
>
>
yeah, that's a good idea.  But I think my suggestion is also good.

The problem with such cover-my-ass aliases is they're never there when
you need them - and dependent on them.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] quickpkg nice-to-have
  2021-06-03 14:58   ` n952162
@ 2021-06-03 15:18     ` Matt Connell (Gmail)
  0 siblings, 0 replies; 5+ messages in thread
From: Matt Connell (Gmail) @ 2021-06-03 15:18 UTC (permalink / raw
  To: gentoo-user

On Thu, 2021-06-03 at 16:58 +0200, n952162 wrote:
> On 6/3/21 4:52 PM, Neil Bothwick wrote:
> > 
> > alias quickpkg='quickpkg --include-unmodified-config=y' ;-)
> > 
> > 
> yeah, that's a good idea.  But I think my suggestion is also good.
> 
> The problem with such cover-my-ass aliases is they're never there when
> you need them - and dependent on them.

This is why I keep my bashrc in a git repository and just deploy it
onto any machine I have to manage, because I also rely quite heavily on
aliases, functions, et cetera.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-03 15:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-03 13:14 [gentoo-user] quickpkg nice-to-have n952162
2021-06-03 13:22 ` n952162
2021-06-03 14:52 ` Neil Bothwick
2021-06-03 14:58   ` n952162
2021-06-03 15:18     ` Matt Connell (Gmail)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox