No need for ec2_init on arm64mbr
This commit is contained in:
parent
78761a5d9a
commit
cd1407a13d
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: arm64mbr.conf,v 1.1 2020/05/28 10:22:49 jmcneill Exp $
|
||||
# $NetBSD: arm64mbr.conf,v 1.2 2021/07/01 17:31:21 jmcneill Exp $
|
||||
# ARM64 (MBR partitioning) customization script used by mkimage
|
||||
#
|
||||
board=arm64mbr
|
||||
|
@ -24,16 +24,10 @@ customize() {
|
|||
mdnsd=YES
|
||||
devpubd=YES
|
||||
wscons=\$(dev_exists wsdisplay0)
|
||||
ec2_init=\$(dev_exists ena0)
|
||||
EOF
|
||||
}
|
||||
|
||||
populate_common() {
|
||||
# Add EC2 init script
|
||||
cp ${DIR}/files/ec2_init ${mnt}/etc/rc.d/ec2_init
|
||||
echo "./etc/rc.d/ec2_init type=file uname=root gname=wheel mode=0555" \
|
||||
>> "$tmp/selected_sets"
|
||||
|
||||
# Rename kernel to netbsd.img
|
||||
mv "${mnt}/boot/netbsd-${kernel_GENERIC64}.img" "${mnt}/boot/netbsd.img"
|
||||
|
||||
|
|
Loading…
Reference in New Issue