mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-24 06:40:39 +01:00
integrate-distro.sh: Ongoing improvements
- Add package syslinux - Add mount point /srv/nfs/boot/pxe/bin - Add bind mount /usr/share/syslinux
This commit is contained in:
parent
6adf897334
commit
c1c8058a55
1 changed files with 4 additions and 1 deletions
|
|
@ -29,6 +29,7 @@ payload_pkgs="
|
||||||
mkinitrd
|
mkinitrd
|
||||||
sysvinit
|
sysvinit
|
||||||
grub
|
grub
|
||||||
|
syslinux
|
||||||
splashy
|
splashy
|
||||||
|
|
||||||
kbd
|
kbd
|
||||||
|
|
@ -385,6 +386,7 @@ make_etc_fstab()
|
||||||
|debugfs /sys/kernel/debug debugfs noauto 0 0
|
|debugfs /sys/kernel/debug debugfs noauto 0 0
|
||||||
|usbfs /proc/bus/usb usbfs noauto 0 0
|
|usbfs /proc/bus/usb usbfs noauto 0 0
|
||||||
|devpts /dev/pts devpts mode=0620,gid=5 0 0
|
|devpts /dev/pts devpts mode=0620,gid=5 0 0
|
||||||
|
|/usr/share/syslinux /srv/nfs/boot/pxe/bin auto bind 0 0
|
||||||
EOT
|
EOT
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -653,7 +655,7 @@ cmd_install()
|
||||||
/etc/sysconfig/keyboard \
|
/etc/sysconfig/keyboard \
|
||||||
/etc/sysconfig/clock \
|
/etc/sysconfig/clock \
|
||||||
/etc/openldap/schema/authldap.schema \
|
/etc/openldap/schema/authldap.schema \
|
||||||
/etc/bprof.secret \
|
/etc/opt/bprof/bprof.secret \
|
||||||
; do
|
; do
|
||||||
install -d -m 755 `dirname $root$c`
|
install -d -m 755 `dirname $root$c`
|
||||||
cp -rp $c $root$c
|
cp -rp $c $root$c
|
||||||
|
|
@ -698,6 +700,7 @@ cmd_install()
|
||||||
chroot $root /sbin/ldconfig
|
chroot $root /sbin/ldconfig
|
||||||
chroot $root /sbin/SuSEconfig
|
chroot $root /sbin/SuSEconfig
|
||||||
chroot $root /opt/jux/bin/jux-init-namespace.sh
|
chroot $root /opt/jux/bin/jux-init-namespace.sh
|
||||||
|
install -m 755 -d $root/srv/nfs/boot/pxe/bin
|
||||||
|
|
||||||
for c in \
|
for c in \
|
||||||
/etc/pam.d/* \
|
/etc/pam.d/* \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue