mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-27 15:33:55 +01:00
integrate-distro.sh: Integrated jcs
Signed-off-by: Jan Lindemann <jan@jannet.de>
This commit is contained in:
parent
57a43cf371
commit
0207ac228f
1 changed files with 23 additions and 5 deletions
|
|
@ -708,6 +708,20 @@ make_etc_issue_net()
|
||||||
EOT
|
EOT
|
||||||
}
|
}
|
||||||
|
|
||||||
|
make_etc_jcs_jcs_conf()
|
||||||
|
{
|
||||||
|
_cat << EOT
|
||||||
|
|jcs_dir=\$HOME/local/src/cvs.stable/conf/jannet.de/minimalix/suse-$suse_version
|
||||||
|
|jcs_owner=root
|
||||||
|
|jcs_group=root
|
||||||
|
|jcs_log_dir=\$jcs_dir/log
|
||||||
|
|jcs_file_extension=inf
|
||||||
|
|use_checksum=false
|
||||||
|
|update_checksum_command="/home/tripwire/bin/fs_checksum.sh update"
|
||||||
|
|jcs_http_path=http://www.jannet.de
|
||||||
|
EOT
|
||||||
|
}
|
||||||
|
|
||||||
setup_boot_loader_local()
|
setup_boot_loader_local()
|
||||||
{
|
{
|
||||||
check_var_set grub_boot_partition_num grub_slash_boot_partition_num || \
|
check_var_set grub_boot_partition_num grub_slash_boot_partition_num || \
|
||||||
|
|
@ -906,6 +920,7 @@ cmd_install()
|
||||||
make_etc_sysctl_conf > $root/etc/sysctl.conf
|
make_etc_sysctl_conf > $root/etc/sysctl.conf
|
||||||
make_etc_issue > $root/etc/issue
|
make_etc_issue > $root/etc/issue
|
||||||
make_etc_issue_net > $root/etc/issue.net
|
make_etc_issue_net > $root/etc/issue.net
|
||||||
|
make_etc_jcs_jcs_conf > $root/etc/jcs/jcs.conf
|
||||||
|
|
||||||
host_zypper "base" install --auto-agree-with-licenses $base_pkgs
|
host_zypper "base" install --auto-agree-with-licenses $base_pkgs
|
||||||
host_zypper "base update" install --auto-agree-with-licenses $update_pkgs
|
host_zypper "base update" install --auto-agree-with-licenses $update_pkgs
|
||||||
|
|
@ -970,11 +985,14 @@ cmd_install()
|
||||||
chroot $root /usr/sbin/pam-config -c
|
chroot $root /usr/sbin/pam-config -c
|
||||||
chroot $root /usr/sbin/pam-config -a --ldap
|
chroot $root /usr/sbin/pam-config -a --ldap
|
||||||
|
|
||||||
# for c in \
|
local jcs_dir
|
||||||
# /etc/pam.d/* \
|
eval jcs_dir=`make_etc_jcs_jcs_conf | grep "jcs_dir *="`
|
||||||
# ; do
|
echo "=== checking jcs dir $jcs_dir"
|
||||||
# cp -rp $c $root$c
|
[ -d "$jcs_dir" ] && {
|
||||||
# done
|
cd $jcs_dir
|
||||||
|
cvs update -dP
|
||||||
|
make setup
|
||||||
|
}
|
||||||
|
|
||||||
unmount_devices
|
unmount_devices
|
||||||
[ -w "$install_dev" ] || {
|
[ -w "$install_dev" ] || {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue