« Return to Thread: v1.8 make script typo's

v1.8 make script typo's

by KernalPanic :: Rate this Message:

Reply to Author | View in Thread

Just to let every know I found some small typo's in the v1.8 script.
 
First one:
When copying a system file, or .FileName, out of the Pelican home folder.
The CP command does not handle these files in the root folder.
  #cp -a "$THISDIR"/pelicanhome/* config/chroot_local-includes/etc/skel/
The rsync command works just fine.
  rsync -az "$THISDIR"/pelicanhome/ config/chroot_local-includes/etc/skel/

The same problem exists below in the WRITE THE PELICAN SETUP SCRIPTS section.
Change:
  rsync -avz /etc/skel/* /home/user/
To:
  rsync -avz /etc/skel/ /home/user/

Just that none of the '.' files were getting copied with the '*'

Also in the 'compute node configuration' section of the script.
Should the line reading:
 mv "$THISDIR/$ARCHITECTURE/$LIVECDDIR"/tftpboot "$THISDIR/$ARCHITECTURE"/
Should it look like this?
 mv "$THISDIR/$ARCHITECTURE/$LIVECDDIR"tftpboot "$THISDIR/$ARCHITECTURE"/

The variable $LIVECDDIR already has a slash.

 « Return to Thread: v1.8 make script typo's