A roadside bomb in eastern Afghanistan has killed eight civilians .