mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 11:21:12 +00:00
Move some buildd hooks to includes.chroot.
This commit is contained in:
parent
b77de06bfd
commit
2a9efb44a6
@ -1,14 +0,0 @@
|
||||
#! /bin/sh
|
||||
set -e
|
||||
|
||||
# Configure APT.
|
||||
cat >/etc/apt/apt.conf.d/99buildd <<EOF
|
||||
DPkg::Options {"--force-unsafe-io";};
|
||||
DPkg::Use-Pty "false";
|
||||
EOF
|
||||
|
||||
cat >/etc/apt/preferences.d/backports <<EOF
|
||||
Package: *
|
||||
Pin: release a=*-backports
|
||||
Pin-Priority: 500
|
||||
EOF
|
@ -1,5 +0,0 @@
|
||||
#! /bin/sh
|
||||
set -e
|
||||
|
||||
# Install a dummy fstab.
|
||||
echo /dev/root / ext2 noatime,errors=remount-ro 0 1 >/etc/fstab
|
@ -0,0 +1,2 @@
|
||||
DPkg::Options {"--force-unsafe-io";};
|
||||
DPkg::Use-Pty "false";
|
@ -0,0 +1,3 @@
|
||||
Package: *
|
||||
Pin: release a=*-backports
|
||||
Pin-Priority: 500
|
1
live-build/buildd/includes.chroot/etc/fstab
Normal file
1
live-build/buildd/includes.chroot/etc/fstab
Normal file
@ -0,0 +1 @@
|
||||
/dev/root / ext2 noatime,errors=remount-ro 0 1
|
7
live-build/buildd/hooks/policy-rc.d.chroot → live-build/buildd/includes.chroot/usr/local/sbin/policy-rc.d
Normal file → Executable file
7
live-build/buildd/hooks/policy-rc.d.chroot → live-build/buildd/includes.chroot/usr/local/sbin/policy-rc.d
Normal file → Executable file
@ -1,8 +1,3 @@
|
||||
#! /bin/sh
|
||||
set -e
|
||||
|
||||
# Configure policy-rc.d.
|
||||
cat >/usr/local/sbin/policy-rc.d <<'EOF'
|
||||
#!/bin/sh
|
||||
|
||||
# policy-rc.d script for chroots.
|
||||
@ -16,5 +11,3 @@ while true; do
|
||||
*) echo "Not running services in chroot."; exit 101 ;;
|
||||
esac
|
||||
done
|
||||
EOF
|
||||
chmod 755 /usr/local/sbin/policy-rc.d
|
Loading…
x
Reference in New Issue
Block a user