Changeset 592
- Timestamp:
- 03/29/07 14:47:24 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/bin/applications/nightly_build_test_infrastructure/chroot.rb
r591 r592 65 65 run "#{@sudo}cp /etc/fstab /root/fstab.orig" 66 66 run "#{@sudo}echo \"/proc #{@complete_path}/proc proc defaults 0 0\" >> /etc/fstab" 67 run "#{@sudo}echo \"/dev #{@complete_path}/dev dev defaults 0 0\" >> /etc/fstab" 67 run "#{@sudo}mount #{@complete_path}/proc" 68 run "#{@sudo}cp /etc/hosts #{@complete_path}/etc/hosts" 69 run "#{@sudo}mount /dev #{@complete_path}/dev -o bind" 68 70 run "#{@sudo}echo \"cd /dev; /sbin/MAKEDEV generic; cd -\" >> /#{@complete_path}/root/dev_create" 69 71 run "#{@sudo]chroot #{@complete_path} sh root/dev_create" 70 run "#{@sudo}mount #{@complete_path}/proc"71 run "#{@sudo}mount /dev #{@complete_path}/dev -o bind"72 72 73 73 return @complete_path
