Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Add crontab entries from package
@ 2020-11-26 10:03 Sven Klomp
  2020-11-26 19:05 ` Peter Seiderer
  0 siblings, 1 reply; 3+ messages in thread
From: Sven Klomp @ 2020-11-26 10:03 UTC (permalink / raw)
  To: buildroot

Hello,

I want to add entries to /etc/crontabs/root.
I know I can add abritary scripts to |BR2_ROOTFS_POST_BUILD_SCRIPT| to 
change files. However, as the crontab entry depends on the package, I 
want to change the file from within thepackage and not globally. How is 
this possible?
The documentation of |BR2_ROOTFS_POST_BUILD_SCRIPT |makes me think there 
must be another solution:
"You should, however, use this feature with care. Whenever you find that 
a certain package generates wrong or unneeded files, you should fix that 
package rather than work around it with some post-build cleanup scripts."


Thanks
Sven
||

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

end of thread, other threads:[~2020-11-27 22:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-26 10:03 [Buildroot] Add crontab entries from package Sven Klomp
2020-11-26 19:05 ` Peter Seiderer
     [not found]   ` <b7ab5353-8504-055c-fcde-b1130dd53c43@klomp.eu>
     [not found]     ` <20201127235210.06a62c2a@gmx.net>
2020-11-27 22:53       ` Peter Seiderer

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