1.Grease deep 25cm round pie dish. Sift flours into bowl, rub in butter (or process flours and butter until mixture resembles breadcrumbs). Add egg and enough water to make ingredients cling together (or process until ingredients just come together). Press dough into a ball, knead on floured surface until smooth. Wrap in plastic, refrigerate 30 minutes.
2.Roll two-thirds of the pastry between sheets of baking paper until large enough to line dish. Lift pastry carefully into dish, ease into side, trim edge. Prick base with fork, cover, refrigerate 30 minutes.
3.Preheat oven to 200°C (180°C fan-forced).
4.Line pastry with baking paper, fill with dried beans or rice, place on oven tray. Bake 10 minutes. Remove paper and beans, bake further 10 minutes or until browned. Cool.
5.Reduce oven to 180°C (160°C fan-forced).
6.Heat oil in medium frying pan, cook onion and bacon, stirring, until onion is soft.
7.Break an extra egg into a cup, gently pour unbeaten egg into pastry case. Repeat with remaining eggs. Top with bacon mixture and combined cheese, pepper and chives.
8.Roll remaining pastry until large enough to cover pie. Brush edge of pie with egg yolk, carefully lift pastry onto pie; trim edge carefully.
9.Bake pie about 45 minutes or until browned.