Searched refs:BSDINSTALL_CHROOT (Results 1 - 17 of 17) sorted by relevance

/freebsd-current/usr.sbin/bsdinstall/scripts/
H A Dumount29 if [ -d $BSDINSTALL_CHROOT/dist/packages ]; then
30 umount $BSDINSTALL_CHROOT/dist/packages
31 rmdir $BSDINSTALL_CHROOT/dist/packages
32 rmdir $BSDINSTALL_CHROOT/dist
37 cat $PATH_FSTAB | awk -v BSDINSTALL_CHROOT=$BSDINSTALL_CHROOT '{
42 printf("%s\t%s%s\t%s\t%s\t%s\t%s\n", $1, BSDINSTALL_CHROOT,
47 umount $BSDINSTALL_CHROOT/dev 2>/dev/null
H A Dadduser36 chroot $BSDINSTALL_CHROOT adduser 2>&1
H A Drootpass36 printf '%s\n' "$ROOTPASS_ENC" | pw -R $BSDINSTALL_CHROOT usermod root -H 0
38 printf '%s\n' "$ROOTPASS_PLAIN" | pw -R $BSDINSTALL_CHROOT usermod root -h 0
43 chroot $BSDINSTALL_CHROOT passwd root 2>&1
H A Dmount33 cat $PATH_FSTAB | awk -v BSDINSTALL_CHROOT=$BSDINSTALL_CHROOT '{
38 printf("%s\t%s%s\t%s\t%s\t%s\t%s\n", $1, BSDINSTALL_CHROOT,
56 mkdir $BSDINSTALL_CHROOT/dev 2>/dev/null
57 mount -t devfs devfs $BSDINSTALL_CHROOT/dev
61 mkdir -p $BSDINSTALL_CHROOT/dist/packages
62 mount -t nullfs /packages $BSDINSTALL_CHROOT/dist/packages
H A Dconfig34 cat $BSDINSTALL_CHROOT/etc/sysctl.conf $BSDINSTALL_TMPETC/sysctl.conf.* >> $BSDINSTALL_TMPETC/sysctl.conf
42 cp $BSDINSTALL_TMPETC/* $BSDINSTALL_CHROOT/etc
46 df -t zfs $BSDINSTALL_CHROOT > /dev/null && echo "zfs_load=\"YES\"" >> $BSDINSTALL_TMPBOOT/loader.conf
48 cp $BSDINSTALL_TMPBOOT/* $BSDINSTALL_CHROOT/boot
50 [ "${debugFile#+}" ] && cp "${debugFile#+}" $BSDINSTALL_CHROOT/var/log/
53 chroot $BSDINSTALL_CHROOT /usr/bin/newaliases > /dev/null 2>&1
H A Dentropy30 i="$BSDINSTALL_CHROOT/$i"
H A Dscript149 tar -xf "$BSDINSTALL_DISTDIR/$set" -C $BSDINSTALL_CHROOT --exclude boot/efi
150 mkdir -p $BSDINSTALL_CHROOT/boot/efi
161 if [ ! -f $BSDINSTALL_CHROOT/etc/resolv.conf -a -f /etc/resolv.conf ]; then
162 cp /etc/resolv.conf $BSDINSTALL_CHROOT/etc/resolv.conf
168 $BSDINSTALL_CHROOT/tmp/installscript
169 chmod a+x $BSDINSTALL_CHROOT/tmp/installscript
170 chroot $BSDINSTALL_CHROOT /tmp/installscript $@ 2>&1
171 rm $BSDINSTALL_CHROOT/tmp/installscript
H A Dtime32 chroot $BSDINSTALL_CHROOT tzsetup
36 TZ="${BSDINSTALL_CHROOT}/etc/localtime"
H A Djail52 exec $0 $BSDINSTALL_CHROOT
59 export BSDINSTALL_CHROOT=$1
156 $BSDINSTALL_CHROOT/tmp/installscript
157 chmod a+x $BSDINSTALL_CHROOT/tmp/installscript
158 mount -t devfs devfs "$BSDINSTALL_CHROOT/dev"
159 chroot $BSDINSTALL_CHROOT /tmp/installscript $@ 2>&1
160 umount "$BSDINSTALL_CHROOT/dev"
161 rm $BSDINSTALL_CHROOT/tmp/installscript
H A Dbootconfig95 kboot_conf=$BSDINSTALL_CHROOT/boot/etc/kboot.conf
96 mkdir -p $BSDINSTALL_CHROOT/boot/etc/
116 mntpt="$BSDINSTALL_CHROOT/boot/efi"
120 cp "$BSDINSTALL_CHROOT/boot/loader.efi" "${mntpt}/${FREEBSD_BOOTNAME}"
134 cp "$BSDINSTALL_CHROOT/boot/loader.efi" "${mntpt}/${BOOTNAME}"
H A Ddocsinstall152 f_quietly cp -f $BSDINSTALL_TMPETC/resolv.conf $BSDINSTALL_CHROOT/etc/
162 ASSUME_ALWAYS_YES=YES chroot $BSDINSTALL_CHROOT pkg install $docsets
H A Dauto148 [ -f /usr/libexec/bsdinstall/local.pre-everything ] && f_dprintf "Running local.pre-everything" && sh /usr/libexec/bsdinstall/local.pre-everything "$BSDINSTALL_CHROOT"
191 [ -f /usr/libexec/bsdinstall/local.pre-partition ] && f_dprintf "Running local.pre-partition" && sh /usr/libexec/bsdinstall/local.pre-partition "$BSDINSTALL_CHROOT"
323 echo "Use this shell to set up partitions for the new system. When finished, mount the system at $BSDINSTALL_CHROOT and place an fstab file for the new system at $PATH_FSTAB. Then type 'exit'. You can also enter the partition editor at any time by entering 'bsdinstall partedit'."
340 [ -f /usr/libexec/bsdinstall/local.pre-fetch ] && f_dprintf "Running local.pre-fetch" && sh /usr/libexec/bsdinstall/local.pre-fetch "$BSDINSTALL_CHROOT"
356 [ -f /usr/libexec/bsdinstall/local.pre-configure ] && f_dprintf "Running local.pre-configure" && sh /usr/libexec/bsdinstall/local.pre-configure "$BSDINSTALL_CHROOT"
383 [ -f /usr/libexec/bsdinstall/local.post-configure ] && f_dprintf "Running local.post-configure" && sh /usr/libexec/bsdinstall/local.post-configure "$BSDINSTALL_CHROOT"
393 chroot "$BSDINSTALL_CHROOT" /bin/sh 2>&1
H A Dfetchmissingdists59 BSDINSTALL_FETCHDEST="$BSDINSTALL_CHROOT/usr/freebsd-dist"
H A Dhardening87 sed "s/unknown off secure/unknown off insecure/g" $BSDINSTALL_CHROOT/etc/ttys > $BSDINSTALL_TMPETC/ttys.hardening
H A Dzfsboot1215 local bootpool="$BSDINSTALL_CHROOT/$bootpool_name"
1223 f_eval_catch -d $funcname umount "$UMOUNT" "$BSDINSTALL_CHROOT"
1225 $BSDINSTALL_CHROOT || return $FAILURE
1233 bootpool_options="-o altroot=$BSDINSTALL_CHROOT"
1326 f_eval_catch -d $funcname umount "$UMOUNT" "$BSDINSTALL_CHROOT"
1355 "-o altroot=$BSDINSTALL_CHROOT $create_options -m none -f" \
1359 "-o altroot=$BSDINSTALL_CHROOT $create_options -m none -f" \
1402 $BSDINSTALL_CHROOT$dir || return $FAILURE
1404 $BSDINSTALL_CHROOT$dir || return $FAILURE
1437 "-o altroot=\"$BSDINSTALL_CHROOT\"" \
[all...]
/freebsd-current/usr.sbin/bsdinstall/
H A Dbsdinstall48 : ${BSDINSTALL_CHROOT="/mnt"}; export BSDINSTALL_CHROOT
/freebsd-current/usr.sbin/adduser/
H A Dadduser.sh262 if [ -n "$BSDINSTALL_CHROOT" ]; then
298 if [ -n "$BSDINSTALL_CHROOT" ]; then

Completed in 140 milliseconds