diff --git a/scripts/integrate-distro.sh b/scripts/integrate-distro.sh index 2fbf8483..7d32363c 100644 --- a/scripts/integrate-distro.sh +++ b/scripts/integrate-distro.sh @@ -13,6 +13,8 @@ unused_pkgs=" sysvinit-systemd kernel kernel-default-2.6.37.6~jng135-4 + kernel-syms-2.6.37.6~jng135-4 + kernel-source-2.6.37.6~jng135-4 aufs-kmp " @@ -69,6 +71,7 @@ payload_pkgs=" mdadm device-mapper insserv + suspend dhcpcd nfs-client @@ -95,6 +98,7 @@ payload_pkgs=" xorg-x11-Xnest xorg-x11-Xvfb xorg-x11-Xvnc + unclutter xterm @@ -116,11 +120,15 @@ payload_pkgs=" cvs patch - ytools-run pciutils + + ytools-run jux-run jux-client-run feedfsd-run + feedfs-local-run + feedfs-net-run + netscan-run snmp-manager-run ftp-server-run bprof-run @@ -412,6 +420,33 @@ make_etc_fstab() EOT } +make_etc_sysctl_conf() +{ + _cat< $root/etc/ldap.conf.netboot make_netboot_etc_openldap_ldap_conf > $root/etc/openldap/ldap.conf.netboot make_netboot_etc_hosts > $root/etc/hosts.netboot + make_netboot_etc_fstab > $root/etc/fstab.netboot make_etc_openldap_ldap_conf > $root/etc/openldap/ldap.conf chmod 644 $root/etc/openldap/ldap.conf @@ -706,6 +752,7 @@ cmd_install() make_etc_ldap_conf > $root/etc/hosts make_etc_hosts > $root/etc/hosts make_etc_fstab > $root/etc/fstab + make_etc_sysctl_conf > $root/etc/sysctl.conf host_zypper "base" install --auto-agree-with-licenses coreutils host_zypper "base update" install --auto-agree-with-licenses zypper @@ -741,6 +788,7 @@ cmd_install() install -m 755 -d $root/srv/nfs/boot/pxe/bin install -m 755 -d $root/srv/nfs/var install -m 777 -d $root/srv/nfs/var/cores + install -m 777 -d $root/var/cores for c in \ /etc/pam.d/* \