Re: SL 7.2 on a HP Zbook

2016-10-07 Thread Ken Teh

If you grep'd the rc init files for hwclock, you will find it in halt.  You 
can't grep systemd.  All you can do is read the man page and there's a lot of 
man pages to read.  :(






On 10/07/2016 01:28 PM, stod...@pelletron.comwrote:

- Original Message -
From: "Bill Askew" 
To: scientific-linux-us...@listserv.fnal.gov
Sent: Friday, October 7, 2016 1:14:04 PM
Subject: SL 7.2 on a HP Zbook

Hi everyone
I am using SL 7.2 on a HP Zbook.  So far the only issue that I have is setting 
the date and time does not set the Zbook's hardware clock.  It does change the 
time for the duration of the session but when the ZBook is rebooted the time 
goes back to what it was before plus the amount of time I spent during the 
session.
Does anyone have a fix for this?
Thanks

There is probably a more "systemd" type method, but this as root has always 
worked:
hwclock --systohc



Re: SL 7.2 on a HP Zbook

2016-10-07 Thread Mark Stodola

On 10/07/2016 02:09 PM, Bill Askew wrote:

Mark
The hwclock --systohc worked thanks!  :-)

Still kind of odd that the date command does not cause the date and time to the 
hardware clock when shutting down
(this is how it works on a Lenovo T61p running SL 6.2)

Bill



This is probably useful:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/sect-Configuring_the_Date_and_Time-hwclock.html

There is a note about how the system clock is synced every 11 minutes to 
hardware.  This might be a configuration option in chrony or ntpd. 
Plenty of good information in that document to dig through.


Re: SL 7.2 on a HP Zbook

2016-10-07 Thread Bill Askew
Mark
The hwclock --systohc worked thanks!  :-)

Still kind of odd that the date command does not cause the date and time to the 
hardware clock when shutting down 
(this is how it works on a Lenovo T61p running SL 6.2)

Bill


Re: SL 7.2 on a HP Zbook

2016-10-07 Thread stod...@pelletron.com
- Original Message -
From: "Bill Askew" 
To: scientific-linux-us...@listserv.fnal.gov
Sent: Friday, October 7, 2016 1:14:04 PM
Subject: SL 7.2 on a HP Zbook

Hi everyone
I am using SL 7.2 on a HP Zbook.  So far the only issue that I have is setting 
the date and time does not set the Zbook's hardware clock.  It does change the 
time for the duration of the session but when the ZBook is rebooted the time 
goes back to what it was before plus the amount of time I spent during the 
session.
Does anyone have a fix for this?
Thanks

There is probably a more "systemd" type method, but this as root has always 
worked:
hwclock --systohc


Re: create repodata for a custom install DVD

2016-10-07 Thread stod...@pelletron.com
On 10/07/2016 01:04 PM, Bill Askew wrote:
> I have been searching for a howTo that provides the steps required to create 
> the repodata on an install DVD.
> I am using the SL 7.2 install DVD as a baseline and removing the unneeded 
> packages then am using a kickstart file to do the install.
> This works fine without updating the repodata however if I want to add 
> packages or replace packages with new packages I believe I would need to 
> rebuild the repodata the match the new packages.
> Thanks
>

I have a modified version, but this is what Pat sent me a few months ago 
(written by Connie).  It is a good starting point for rolling your own.

The approach I took was to put my additional packages either using the context 
scheme SL proposes or just another directory off the DVD root.

Depending on what you decide to do, you will want to grab a copy of the 
original comps.xml and make any additional modifications to it.  Then, from 
what will be the DVD root, run 'createrepo -g  .'  This will 
find and build a repo from all rpms found in subdirectories.

I also have some scripts to inject custom bootloader configs and kickstart 
options if you are interested.

Hope that helps.

-Mark

build.context.dvd.sh
Description: application/shellscript


SL 7.2 on a HP Zbook

2016-10-07 Thread Bill Askew
Hi everyone
I am using SL 7.2 on a HP Zbook.  So far the only issue that I have is setting 
the date and time does not set the Zbook's hardware clock.  It does change the 
time for the duration of the session but when the ZBook is rebooted the time 
goes back to what it was before plus the amount of time I spent during the 
session.
Does anyone have a fix for this?
Thanks


create repodata for a custom install DVD

2016-10-07 Thread Bill Askew
I have been searching for a howTo that provides the steps required to create 
the repodata on an install DVD.
I am using the SL 7.2 install DVD as a baseline and removing the unneeded 
packages then am using a kickstart file to do the install.
This works fine without updating the repodata however if I want to add packages 
or replace packages with new packages I believe I would need to rebuild the 
repodata the match the new packages.
Thanks