Remove unused post_clone_iso_ks.cfg

Change-Id: I3be9384b94473cc6e0f6efbc1e404c5878856ffc
Partial-Bug: 1834218
Depends-On: https://review.opendev.org/#/c/703516/
Signed-off-by: Angie Wang <angie.wang@windriver.com>
This commit is contained in:
Angie Wang 2020-01-20 15:09:10 -05:00
parent 46c6b245df
commit eff0d66377
3 changed files with 0 additions and 46 deletions

View File

@ -1,41 +0,0 @@
# clone post installation script
%post --nochroot
if [ -d /mnt/install/source ]; then
srcdir=/mnt/install/source
else
srcdir=/run/install/repo
fi
if [ -d $srcdir/clone-archive ]; then
cp -r $srcdir/clone-archive /mnt/sysimage/
cp $srcdir/install_clone /mnt/sysimage/usr/bin/install_clone
chmod 500 /mnt/sysimage/usr/bin/install_clone
fi
%end
# clone post installation script to start install-clone service
%post --erroronfail
# Build install-clone service file here, so that it is patchable.
cat << EOF > /usr/lib/systemd/system/install-clone.service
[Unit]
Description=Titanium install-clone service
After=hostw.service
Before=serial-getty@ttyS0.service getty@tty1.service
[Service]
User=root
Type=oneshot
RemainAfterExit=yes
Environment=PYTHONUNBUFFERED=1
ExecStart=/usr/bin/install_clone
StandardOutput=syslog+console
[Install]
WantedBy=multi-user.target
EOF
systemctl enable install-clone
%end

View File

@ -1,6 +1,5 @@
COPY_LIST="pxe-network-installer/* \
$GIT_BASE/bsp-files/grub.cfg \
$GIT_BASE/bsp-files/kickstarts/post_clone_iso_ks.cfg \
$SRC_BASE/cgcs-centos-repo/Binary/images/efiboot.img \
/import/mirrors/CentOS/stx-installer/initrd.img \
/import/mirrors/CentOS/stx-installer/squashfs.img \

View File

@ -16,7 +16,6 @@ Source003: squashfs.img
Source010: pxeboot-update.sh
Source011: grub.cfg
Source012: efiboot.img
Source013: post_clone_iso_ks.cfg
Source030: default
Source031: default.static
@ -71,9 +70,6 @@ install -v -d -m 755 %{buildroot}%{_sbindir}
install -v -m 755 %{_sourcedir}/pxeboot-update.sh %{buildroot}%{_sbindir}/pxeboot-update-%{platform_release}.sh
install -v -m 644 %{_sourcedir}/post_clone_iso_ks.cfg \
%{buildroot}/pxeboot/post_clone_iso_ks.cfg
install -v -m 644 %{_sourcedir}/default \
%{buildroot}/pxeboot/pxelinux.cfg.files/default
install -v -m 644 %{_sourcedir}/default.static \