)]}'
{"diskimage_builder/elements/yum-minimal/root.d/08-yum-chroot":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"a6f9bda756748cfbbfa65b78ccfa96b42d509fc2","unresolved":false,"context_lines":[{"line_number":225,"context_line":"sudo mount --bind /dev $TARGET_ROOT/dev"},{"line_number":226,"context_line":"# It appears that mounting devpts in a chroot also affects the instance mounted on the host. The host"},{"line_number":227,"context_line":"# may use additional options which are not in the default devpts mount options. For example, openSUSE requires"},{"line_number":228,"context_line":"# gid\u003d5 when mounting devpts so we need to explicitly add it. See https://github.com/openSUSE/dracut/blob/SUSE/044/modules.d/99base/init.sh#L57"},{"line_number":229,"context_line":"# It\u0027s best to simply copy all the options from the host instance when mounting the new one in the chroot."},{"line_number":230,"context_line":"sudo mount -t devpts -o $(mount | grep devpts | sed \u0027s/.*(\\(.*\\))/\\1/\u0027) devpts $TARGET_ROOT/dev/pts"},{"line_number":231,"context_line":"sudo mount -t sysfs none $TARGET_ROOT/sys"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"1f485f77_a61c76c1","line":228,"updated":"2017-11-14 05:03:20.000000000","message":"as mentioned, I don\u0027t think this is the right reference to put in here.","commit_id":"543b82593ab027218b52bfbd7b9a0797ecf96188"}]}
